Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAlternative dialog editor? Pin
roel_10-Mar-03 21:51
roel_10-Mar-03 21:51 
GeneralSetting the Cursor Position Pin
Brit10-Mar-03 21:25
Brit10-Mar-03 21:25 
GeneralRe: Setting the Cursor Position Pin
Hans Ruck10-Mar-03 21:31
Hans Ruck10-Mar-03 21:31 
GeneralRe: Setting the Cursor Position Pin
Brit11-Mar-03 16:25
Brit11-Mar-03 16:25 
GeneralApplication Error Pin
r i s h a b h s10-Mar-03 20:10
r i s h a b h s10-Mar-03 20:10 
GeneralRe: Application Error Pin
Ryan Binns10-Mar-03 20:31
Ryan Binns10-Mar-03 20:31 
GeneralRe: Application Error Pin
r i s h a b h s10-Mar-03 20:43
r i s h a b h s10-Mar-03 20:43 
GeneralRe: Application Error Pin
Ryan Binns11-Mar-03 19:50
Ryan Binns11-Mar-03 19:50 
I'm not sure about a system restart. The docs state that the lParam value is a bitmask, and they only mention the ENDSESSION_LOGOFF value, but there may be another bit defined in the system is restarting. You could just run a few tests, by storing the value of this parameter as you try some shutdowns and restarts. Remember that if you return 0, the shutdown or restart won't actually take place, so you won't have to wait for it each time. Other than that, I'm not sure about detecting a restart. Sorry...

Ryan

He who laughs last thinks too slowly.
GeneralMSN like Emoticon list Pin
Ph@ntom10-Mar-03 19:46
Ph@ntom10-Mar-03 19:46 
GeneralRe: MSN like Emoticon list Pin
Hesham Amin10-Mar-03 21:07
Hesham Amin10-Mar-03 21:07 
GeneralControl subclassing Pin
Shah Shehpori10-Mar-03 19:22
sussShah Shehpori10-Mar-03 19:22 
GeneralRe: Control subclassing Pin
Shog910-Mar-03 19:41
sitebuilderShog910-Mar-03 19:41 
GeneralRe: Control subclassing Pin
TomKat14-Mar-03 16:06
TomKat14-Mar-03 16:06 
QuestionHow to read from Listbox Pin
summo10-Mar-03 19:11
summo10-Mar-03 19:11 
AnswerRe: How to read from Listbox Pin
Nish Nishant10-Mar-03 19:17
sitebuilderNish Nishant10-Mar-03 19:17 
AnswerRe: How to read from Listbox Pin
vikramlinux10-Mar-03 19:23
vikramlinux10-Mar-03 19:23 
QuestionHelp! How to update the resource in an exe file under Win98? Pin
stanley guan10-Mar-03 17:41
stanley guan10-Mar-03 17:41 
AnswerRe: Help! How to update the resource in an exe file under Win98? Pin
vikramlinux10-Mar-03 19:12
vikramlinux10-Mar-03 19:12 
AnswerRe: Help! How to update the resource in an exe file under Win98? Pin
Baris Kurtlutepe10-Mar-03 21:47
Baris Kurtlutepe10-Mar-03 21:47 
GeneralRe: Help! How to update the resource in an exe file under Win98? Pin
stanley guan11-Mar-03 13:20
stanley guan11-Mar-03 13:20 
GeneralRe: Help! How to update the resource in an exe file under Win98? Pin
stanley guan11-Mar-03 14:11
stanley guan11-Mar-03 14:11 
GeneralParent Child Data Sharing Pin
GWENJi10-Mar-03 16:43
GWENJi10-Mar-03 16:43 
GeneralRe: Parent Child Data Sharing Pin
Dave Bryant10-Mar-03 17:08
Dave Bryant10-Mar-03 17:08 
GeneralRe: Parent Child Data Sharing Pin
jhwurmbach10-Mar-03 20:30
jhwurmbach10-Mar-03 20:30 
GeneralRe: Parent Child Data Sharing Pin
jhwurmbach10-Mar-03 20:31
jhwurmbach10-Mar-03 20:31 

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.