Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAuto hide dialog base app on startup. Pin
12-Nov-02 3:10
suss12-Nov-02 3:10 
GeneralRe: Auto hide dialog base app on startup. Pin
567890123412-Nov-02 3:55
567890123412-Nov-02 3:55 
GeneralRe: Auto hide dialog base app on startup. Pin
Nitron12-Nov-02 4:08
Nitron12-Nov-02 4:08 
GeneralRe: Auto hide dialog base app on startup. Pin
Mazdak12-Nov-02 5:28
Mazdak12-Nov-02 5:28 
GeneralRe: Auto hide dialog base app on startup. Pin
Nitron12-Nov-02 8:11
Nitron12-Nov-02 8:11 
GeneralRe: Auto hide dialog base app on startup. Pin
Mazdak12-Nov-02 9:02
Mazdak12-Nov-02 9:02 
GeneralA simpler way Pin
Alvaro Mendez12-Nov-02 6:01
Alvaro Mendez12-Nov-02 6:01 
GeneralModify message map at run-time Pin
Hostalet Wandosell12-Nov-02 3:08
Hostalet Wandosell12-Nov-02 3:08 
I am trying to modify the message map at run-time, to create new handles.

Everything lokks fine, but i get this error

Compiler Error C2276 'operator' : illegal address of bound member function expression

when I try to assign the handle function "MaximizeDialog"

AFX_MSGMAP_ENTRY newEntry;
newEntry.nMessage = WM_COMMAND;
newEntry.nCode = CN_COMMAND;
newEntry.nID = (WORD)nID;
newEntry.nLastID = (WORD)nID;
newEntry.nSig = AfxSig_bw;
newEntry.pfn = (AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*) (UINT))&MaximizeDialog;

_messageEntries[i] = newEntry;

What can I do ? thanks !

-----
Mit freundlichen Grüssen/Best Regards/Un cordial saludo.

Ing. José Manuel Hostalet Wandosell, Fraunhofer IPA, Abt.323/Robotersysteme
Nobelstrasse 12, D-70569 Stuttgart (Germany)
mailto:jose.hostalet@ipa.fhg.de, http://www.ipa.fhg.de


GeneralRe: Modify message map at run-time Pin
Alvaro Mendez12-Nov-02 6:07
Alvaro Mendez12-Nov-02 6:07 
GeneralRe: Modify message map at run-time Pin
Hostalet Wandosell13-Nov-02 4:10
Hostalet Wandosell13-Nov-02 4:10 
GeneralRe: Modify message map at run-time Pin
ian mariano12-Nov-02 6:16
ian mariano12-Nov-02 6:16 
GeneralHelp with ClassWizard please! Pin
georgiek5012-Nov-02 2:47
georgiek5012-Nov-02 2:47 
GeneralRe: Help with ClassWizard please! Pin
567890123412-Nov-02 4:04
567890123412-Nov-02 4:04 
GeneralRe: Help with ClassWizard please! Pin
georgiek5012-Nov-02 5:56
georgiek5012-Nov-02 5:56 
GeneralFlicker and Cwnd Pin
Pyt12-Nov-02 1:58
Pyt12-Nov-02 1:58 
GeneralRe: Flicker and Cwnd Pin
Prem Kumar12-Nov-02 2:16
Prem Kumar12-Nov-02 2:16 
GeneralRe: Flicker and Cwnd Pin
KarstenK12-Nov-02 3:01
mveKarstenK12-Nov-02 3:01 
GeneralRe: Flicker and Cwnd Pin
Pyt12-Nov-02 3:16
Pyt12-Nov-02 3:16 
GeneralRe: Flicker and Cwnd Pin
KarstenK12-Nov-02 3:22
mveKarstenK12-Nov-02 3:22 
GeneralRe: Flicker and Cwnd Pin
Pyt12-Nov-02 3:31
Pyt12-Nov-02 3:31 
GeneralRe: Flicker and Cwnd Pin
Gary Kirkham12-Nov-02 10:51
Gary Kirkham12-Nov-02 10:51 
GeneralRe: Flicker and Cwnd Pin
Patje12-Nov-02 21:42
Patje12-Nov-02 21:42 
Generalvsprintf Pin
Hans Ruck12-Nov-02 1:53
Hans Ruck12-Nov-02 1:53 
GeneralRe: vsprintf Pin
Chris Losinger12-Nov-02 5:10
professionalChris Losinger12-Nov-02 5:10 
GeneralRe: vsprintf Pin
Tim Smith12-Nov-02 6:20
Tim Smith12-Nov-02 6:20 

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.