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

C / C++ / MFC

 
GeneralExcel Type page break Pin
22-Jan-02 1:25
suss22-Jan-02 1:25 
GeneralRe: Excel Type page break Pin
Carlos Antollini22-Jan-02 2:11
Carlos Antollini22-Jan-02 2:11 
QuestionIcon on dialog box title bar - how to? Pin
22-Jan-02 0:56
suss22-Jan-02 0:56 
AnswerRe: Icon on dialog box title bar - how to? Pin
Vladimir Georgiev22-Jan-02 3:27
Vladimir Georgiev22-Jan-02 3:27 
GeneralRe: Icon on dialog box title bar - how to? Pin
22-Jan-02 3:43
suss22-Jan-02 3:43 
AnswerRe: Icon on dialog box title bar - how to? Pin
Roger Allen22-Jan-02 3:48
Roger Allen22-Jan-02 3:48 
GeneralThis is non MFC application Pin
22-Jan-02 3:58
suss22-Jan-02 3:58 
GeneralRe: This is non MFC application Pin
Roger Allen22-Jan-02 4:23
Roger Allen22-Jan-02 4:23 
The MFC function translates to this:

_AFXWIN_INLINE HICON CWnd::SetIcon(HICON hIcon, BOOL bBigIcon)
	{ ASSERT(::IsWindow(m_hWnd)); return (HICON)::SendMessage(m_hWnd, WM_SETICON, bBigIcon, (LPARAM)hIcon); }


So you need to use SendMessage to do the equivalent.


Roger Allen
Sonork 100.10016

If I'm not breathing, I'm either dead or holding my breath.
AnswerRe: Icon on dialog box title bar - how to? Pin
Michael Dunn22-Jan-02 7:51
sitebuilderMichael Dunn22-Jan-02 7:51 
GeneralManaged C++ Pin
Jerome Conus22-Jan-02 0:55
Jerome Conus22-Jan-02 0:55 
GeneralRe: Managed C++ Pin
Christian Graus22-Jan-02 1:10
protectorChristian Graus22-Jan-02 1:10 
GeneralRe: Managed C++ Pin
22-Jan-02 4:41
suss22-Jan-02 4:41 
GeneralExtension DLL trouble Pin
Daniel Hellsson21-Jan-02 23:25
Daniel Hellsson21-Jan-02 23:25 
GeneralRe: Extension DLL trouble Pin
Roger Allen22-Jan-02 1:55
Roger Allen22-Jan-02 1:55 
GeneralRe: Extension DLL trouble Pin
Daniel Hellsson22-Jan-02 2:00
Daniel Hellsson22-Jan-02 2:00 
GeneralRe: Extension DLL trouble Pin
Roger Allen22-Jan-02 3:37
Roger Allen22-Jan-02 3:37 
GeneralRe: Extension DLL trouble Pin
Daniel Hellsson22-Jan-02 3:55
Daniel Hellsson22-Jan-02 3:55 
GeneralRe: Extension DLL trouble Pin
Roger Allen22-Jan-02 4:12
Roger Allen22-Jan-02 4:12 
GeneralRe: Extension DLL trouble Pin
Daniel Hellsson22-Jan-02 4:21
Daniel Hellsson22-Jan-02 4:21 
GeneralRe: Extension DLL trouble Pin
Roger Allen22-Jan-02 5:02
Roger Allen22-Jan-02 5:02 
GeneralMulticast with UDP Pin
Grit21-Jan-02 22:31
Grit21-Jan-02 22:31 
GeneralRe: Multicast with UDP Pin
markkuk21-Jan-02 22:41
markkuk21-Jan-02 22:41 
GeneralIMac address Pin
ZAZA21-Jan-02 22:23
ZAZA21-Jan-02 22:23 
GeneralRe: IMac address Pin
Michael A. Barnhart22-Jan-02 2:23
Michael A. Barnhart22-Jan-02 2:23 
GeneralWindows Sockets Pin
ananth_rs21-Jan-02 21:27
ananth_rs21-Jan-02 21:27 

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.