Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Buffer to HDC handle Pin
CPallini25-Feb-09 2:52
mveCPallini25-Feb-09 2:52 
AnswerRe: Buffer to HDC handle Pin
Elsie25-Feb-09 2:59
Elsie25-Feb-09 2:59 
AnswerRe: Buffer to HDC handle Pin
Code-o-mat25-Feb-09 4:10
Code-o-mat25-Feb-09 4:10 
QuestionWhere do we get MESSAGE ID s of registered activex controls? Pin
dschowta25-Feb-09 2:07
dschowta25-Feb-09 2:07 
AnswerRe: Where do we get MESSAGE ID s of registered activex controls? Pin
CPallini25-Feb-09 2:16
mveCPallini25-Feb-09 2:16 
GeneralRe: Where do we get MESSAGE ID s of registered activex controls? Pin
dschowta25-Feb-09 8:21
dschowta25-Feb-09 8:21 
GeneralRe: Where do we get MESSAGE ID s of registered activex controls? Pin
CPallini25-Feb-09 21:15
mveCPallini25-Feb-09 21:15 
QuestionWM_POWERBROADCAST on Vista. Pin
Comp_Users25-Feb-09 2:03
Comp_Users25-Feb-09 2:03 
I am working on Vista with VS 2005.

In my application, I am handling the WM_POWERBROADCAST message and in the message handlig function, execution some code which i must execute when the system goes to hibernate or standby(sleep) mode.

I find that on Vista, windows doesnot wait for the WM_POWERBROADCAST message handling function to return a value(true or false) before proceeding to entering into sleep mode.

On Vista, the system goes to sleep mode even before the WM_POWERBROADCAST message handling function returns a value. And because of this, my application does not have enough time to execute code in the handler function and results in a crash.

Should Windows go/not go to hibernate/sleep mode depending on the return value of the WM_POWERBROADCAST handling function?[MSDN Link]
AnswerRe: WM_POWERBROADCAST on Vista. Pin
«_Superman_»25-Feb-09 2:07
professional«_Superman_»25-Feb-09 2:07 
GeneralRe: WM_POWERBROADCAST on Vista. Pin
Comp_Users25-Feb-09 2:30
Comp_Users25-Feb-09 2:30 
GeneralRe: WM_POWERBROADCAST on Vista. Pin
«_Superman_»25-Feb-09 2:33
professional«_Superman_»25-Feb-09 2:33 
GeneralRe: WM_POWERBROADCAST on Vista. Pin
Comp_Users25-Feb-09 2:40
Comp_Users25-Feb-09 2:40 
Questionis there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 1:43
tyr200025-Feb-09 1:43 
AnswerRe: is there any fuction an get an object form window handle? Pin
«_Superman_»25-Feb-09 1:54
professional«_Superman_»25-Feb-09 1:54 
GeneralRe: is there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 2:11
tyr200025-Feb-09 2:11 
GeneralRe: is there any fuction an get an object form window handle? Pin
«_Superman_»25-Feb-09 2:14
professional«_Superman_»25-Feb-09 2:14 
GeneralRe: is there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 2:29
tyr200025-Feb-09 2:29 
GeneralRe: is there any fuction an get an object form window handle? Pin
«_Superman_»25-Feb-09 2:31
professional«_Superman_»25-Feb-09 2:31 
GeneralRe: is there any fuction an get an object form window handle? Pin
tyr200025-Feb-09 2:46
tyr200025-Feb-09 2:46 
QuestionReg: Dialogue size change Pin
coding_ram25-Feb-09 1:01
coding_ram25-Feb-09 1:01 
AnswerRe: Reg: Dialogue size change Pin
SandipG 25-Feb-09 1:07
SandipG 25-Feb-09 1:07 
GeneralRe: Reg: Dialogue size change Pin
coding_ram25-Feb-09 1:12
coding_ram25-Feb-09 1:12 
GeneralRe: Reg: Dialogue size change Pin
SandipG 25-Feb-09 1:16
SandipG 25-Feb-09 1:16 
GeneralRe: Reg: Dialogue size change Pin
coding_ram25-Feb-09 1:20
coding_ram25-Feb-09 1:20 
GeneralRe: Reg: Dialogue size change Pin
SandipG 25-Feb-09 1:21
SandipG 25-Feb-09 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.