-
March 4th, 2011, 11:53 AM
#1
LockSetForegroundWindow undeclared
I'm using LockSetForegroundWindow so that I can use SetForegroundWindow in my program.
When I make the call to LockSetForegroundWindow(LSFW_UNLOCK) in WinMain after creating my window, the compiler tells me C:\ (...) error: `LSFW_UNLOCK' undeclared (first use this function)| and C:\ (...) error: `LockSetForegroundWindow' undeclared (first use this function). I included windows.h at the top of the program.
This happens in Dev-C++ and Code::Blocks. I already tried reinstalling MinGW.
Suggestions?
-
March 4th, 2011, 12:06 PM
#2
Re: LockSetForegroundWindow undeclared
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|