Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSelect more than one item in a listbox Pin
Anonymous3-Jan-00 7:07
suss Anonymous3-Jan-00 7:07 
GeneralRE: Select more than one item in a listbox Pin
Andrei Zenkovitch3-Jan-00 8:03
Andrei Zenkovitch3-Jan-00 8:03 
GeneralRE: RE: Select more than one item in a listbox Pin
Anonymous4-Jan-00 5:48
suss Anonymous4-Jan-00 5:48 
GeneralRE: RE: RE: Select more than one item in a listbox Pin
Anonymous4-Jan-00 5:51
suss Anonymous4-Jan-00 5:51 
QuestionHow do you use a Rich Edit Control in a dialog? Pin
Steve Roach14-Dec-99 3:35
Steve Roach14-Dec-99 3:35 
AnswerRE: How do you use a Rich Edit Control in a dialog? Pin
Jesse Ezell14-Dec-99 14:43
Jesse Ezell14-Dec-99 14:43 
GeneralExplorer.exe Pin
compwiz12-Dec-99 13:39
compwiz12-Dec-99 13:39 
GeneralRE: Explorer.exe Pin
Mike Dunn14-Dec-99 15:21
Mike Dunn14-Dec-99 15:21 
I remember seeing how to do this in "Visual C++ Windows Shell Programming" (a cool book BTW). The topic isn't in the index (and I'm not really up for searching through 660+ pages for it) so this is from memory...

I believe you get the HWND of the window with class "Program Manager" and send it a WM_CLOSE. Then re-run Explorer to restart the shell. The only trouble with this is that some of your tray icons will be blown away.

--Mike--
==================
The original message was:

How can I reload explorer.exe through C++?
I need to do this so it rereads the registry.

Thanx.
GeneralRE: RE: Explorer.exe Pin
Mike Dunn14-Dec-99 15:34
Mike Dunn14-Dec-99 15:34 
GeneralRestarting the shell Pin
Mike Dunn14-Dec-99 15:38
Mike Dunn14-Dec-99 15:38 
GeneralMultiple File Formats Loading and Saving Pin
Jesse Ezell11-Dec-99 19:10
Jesse Ezell11-Dec-99 19:10 
QuestionRich Edit Ctrl in dialog? Pin
Steve Roach11-Dec-99 12:59
Steve Roach11-Dec-99 12:59 
AnswerRE: Rich Edit Ctrl in dialog? Pin
Jesse Ezell11-Dec-99 19:07
Jesse Ezell11-Dec-99 19:07 
AnswerRE: Rich Edit Ctrl in dialog? Pin
Andrei Zenkovitch13-Dec-99 8:24
Andrei Zenkovitch13-Dec-99 8:24 
GeneralRE: RE: Rich Edit Ctrl in dialog? Pin
Steve Roach14-Dec-99 3:40
Steve Roach14-Dec-99 3:40 
GeneralModeless Dialog Boxes Pin
Anonymous11-Dec-99 9:40
suss Anonymous11-Dec-99 9:40 
GeneralRE: Modeless Dialog Boxes Pin
Anonymous11-Dec-99 12:55
suss Anonymous11-Dec-99 12:55 
GeneralRE: Modeless Dialog Boxes Pin
Stefan Ernsperger13-Dec-99 20:16
sussStefan Ernsperger13-Dec-99 20:16 
QuestionVB Control Arrays in VC++? Pin
Marc Howe10-Dec-99 6:59
Marc Howe10-Dec-99 6:59 
GeneralStatic text (in)visible Pin
Marc Howe10-Dec-99 5:18
Marc Howe10-Dec-99 5:18 
GeneralRE: Static text (in)visible Pin
Peter Zajac10-Dec-99 6:00
Peter Zajac10-Dec-99 6:00 
GeneralRE: Static text (in)visible Pin
Anonymous12-Dec-99 21:43
suss Anonymous12-Dec-99 21:43 
General"Code keeper" type program in VC++ Pin
Marc Howe10-Dec-99 5:16
Marc Howe10-Dec-99 5:16 
GeneralDLLs? Pin
Member 40415-Dec-99 7:52
Member 40415-Dec-99 7:52 
GeneralChange CEdit font Pin
Jeremy Davis10-Dec-99 3:42
Jeremy Davis10-Dec-99 3:42 

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.