|
That worked! Thanks for the help!
-Ian
|
|
|
|
|
Check, Is this Api Help [BlockInput]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
MSDN:
The BlockInput function blocks keyboard and mouse input events from reaching applications.
That basically means that no input is received until (if you read further) the blocking state is removed by calling the function again. So the message that he is waiting for (the WM_LBUTTUNUP) or the messages that the mouse is moving into the other direction, don't arrive either.
So basically he disables the entire app and starts waiting for an event that will never arrive...
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Sorry, Mistake
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Please, dear god, don't do that.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Hi everybody
I want to make an aplication to rotate the screen,to achieve the same affect of pressing the keys Ctrl+Alt+Izq,Ctrl+Alt+Der, etc.
But i dont know how can i make it. If any body can help me, i will be gratefull.
|
|
|
|
|
I wonder if that functionality does not depend exclusively on the graphic driver, and is not part of the Windows API. Should it be true, you have no chance to write such an application, without using the API of the driver (if exists!). But perhaps someone else can confirm/contradict my guess.
|
|
|
|
|
I have a MDI project, how can I disable button close of view ?
Thanks in advance
|
|
|
|
|
Try this: GetSystemMenu(FALSE)->EnableMenuItem(SC_CLOSE, FALSE)
|
|
|
|
|
Could you tell me why I receive these errors ?
MyAppView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CMyAppView::OnInitialUpdate(void)" (?OnInitialUpdate@CMyAppView@@UAEXXZ)
Debug/MyApp.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
MyApp.exe - 2 error(s), 0 warning(s)
Thanks in advance
|
|
|
|
|
|
Yes, I have deleted the body but I haven't deleted the header
Thanks in advance
|
|
|
|
|
Looks like you deleted your OnInitialUpdate function in the view class (CMyAppView), but didn't delete the declaration from the header file.
|
|
|
|
|
You're right
Thanks in advance
|
|
|
|
|
hi
can i get the DPI values in the code directly like 72 DPI or 96,120,144,192
DPI.
I need these values urgently in the project i am working on.
plz i f any one knows plz reply.
regards
Chethan
|
|
|
|
|
Are you using GDI+ ? You're trying to get the DPI settings for an image, or from a printer ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi
actually in the project the control panel we designed will be ruined if the DPI settings are changed in XP .the controls will be displaced .so i need the those value to set it back to the correct position
|
|
|
|
|
OK, in that case, I have no idea
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
any one who know plz reply
|
|
|
|
|
|
How about GetDeviceCaps with LOGPIXELSX and LOGPIXELSY ?
|
|
|
|
|
hi
can u give the code on how to do it
Chethan
|
|
|
|
|
How can I add more two projects to my current project, and make default project to run ?
Thanks in advance
|
|
|
|
|
Right click and choose add project. Right click on the project you want to run and choose 'make this the default project'.
Something like that. More specific instructions would require knowledge of the version of the IDE you are using.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hcmuns wrote:
two projects to my current project
I don't think you can do that, you can however add more projects to your solution / workspace the way Christian explained.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|