Click here to Skip to main content
15,918,049 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to take over the desktop Pin
Chris Hafey30-Mar-02 7:44
Chris Hafey30-Mar-02 7:44 
AnswerRe: How to take over the desktop Pin
Neville Franks31-Mar-02 10:16
Neville Franks31-Mar-02 10:16 
GeneralRe: How to take over the desktop Pin
Chris Hafey1-Apr-02 16:27
Chris Hafey1-Apr-02 16:27 
GeneralMFC SDI Status Text Pin
User 988530-Mar-02 6:04
User 988530-Mar-02 6:04 
GeneralRe: MFC SDI Status Text Pin
Philip Patrick30-Mar-02 7:21
professionalPhilip Patrick30-Mar-02 7:21 
GeneralRe: MFC SDI Status Text Pin
Neville Franks31-Mar-02 10:20
Neville Franks31-Mar-02 10:20 
GeneralRe: MFC SDI Status Text Pin
Philip Patrick31-Mar-02 10:38
professionalPhilip Patrick31-Mar-02 10:38 
GeneralRe: MFC SDI Status Text Pin
Neville Franks31-Mar-02 10:46
Neville Franks31-Mar-02 10:46 
Philip Patrick wrote:
Uhmm, who said to use SendMessage?

Sorry, you didn't actually say this. But as soon as I saw "send a message" my brain automatically converted this into SendMessage().

I made a small mistake with OnUpdateStatusBar(). It isn't an MFC function. This is what I do:

BEGIN_MESSAGE_MAP(CMainFrame, CEDMDIFrameWnd)
//{{AFX_MSG_MAP(CMainFrame)
....
ON_UPDATE_COMMAND_UI_RANGE( ID_INS_OVR_PANE, ID_SB_LAST_PANE, OnUpdateStatusBar )
....

And in the CEDMDIFrameWnd class:

afx_msg void OnUpdateStatusBar( CCmdUI *pCmdUI );



Neville Franks, Author of ED for Windows. www.getsoft.com
GeneralRe: MFC SDI Status Text Pin
Philip Patrick31-Mar-02 10:52
professionalPhilip Patrick31-Mar-02 10:52 
GeneralpcAnywhere OLE & VC++ 6.0 & C2065 Pin
30-Mar-02 5:53
suss30-Mar-02 5:53 
GeneralModifying Menus with MDI and Multiple Views Pin
Eldon Zacek30-Mar-02 5:09
Eldon Zacek30-Mar-02 5:09 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Mazdak30-Mar-02 6:26
Mazdak30-Mar-02 6:26 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Eldon Zacek30-Mar-02 7:46
Eldon Zacek30-Mar-02 7:46 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Mazdak30-Mar-02 7:57
Mazdak30-Mar-02 7:57 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Eldon Zacek30-Mar-02 11:01
Eldon Zacek30-Mar-02 11:01 
Generalhelp with self-checking executable (CRC) Pin
SeNs30-Mar-02 4:15
SeNs30-Mar-02 4:15 
GeneralRe: help with self-checking executable (CRC) Pin
Todd Smith30-Mar-02 4:21
Todd Smith30-Mar-02 4:21 
GeneralRe: help with self-checking executable (CRC) Pin
SeNs30-Mar-02 4:38
SeNs30-Mar-02 4:38 
GeneralRe: help with self-checking executable (CRC) Pin
Neville Franks31-Mar-02 10:25
Neville Franks31-Mar-02 10:25 
GeneralFiring Events in multithreaded OCX Pin
Tili30-Mar-02 0:41
Tili30-Mar-02 0:41 
GeneralRe: Firing Events in multithreaded OCX Pin
Tim Smith30-Mar-02 4:27
Tim Smith30-Mar-02 4:27 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 7:35
Tili30-Mar-02 7:35 
GeneralRe: Firing Events in multithreaded OCX Pin
Todd Smith30-Mar-02 5:12
Todd Smith30-Mar-02 5:12 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 7:44
Tili30-Mar-02 7:44 
GeneralRe: Firing Events in multithreaded OCX Pin
Giles31-Mar-02 10:59
Giles31-Mar-02 10:59 

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.