Click here to Skip to main content
16,003,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General#pragma once and #ifndef Pin
-Dy4-Jul-02 0:35
-Dy4-Jul-02 0:35 
GeneralRe: #pragma once and #ifndef Pin
Alan Chambers4-Jul-02 1:16
Alan Chambers4-Jul-02 1:16 
GeneralRe: #pragma once and #ifndef Pin
Alexandru Savescu4-Jul-02 8:51
Alexandru Savescu4-Jul-02 8:51 
GeneralRe: #pragma once and #ifndef Pin
markkuk4-Jul-02 1:21
markkuk4-Jul-02 1:21 
GeneralRe: #pragma once and #ifndef Pin
Michael Dunn4-Jul-02 7:32
sitebuilderMichael Dunn4-Jul-02 7:32 
GeneralOnUpdate(CCmdUI* pCmdUI) isnt called Pin
John Oliver3-Jul-02 23:47
John Oliver3-Jul-02 23:47 
GeneralRe: OnUpdate(CCmdUI* pCmdUI) isnt called Pin
Michael Dunn4-Jul-02 7:34
sitebuilderMichael Dunn4-Jul-02 7:34 
GeneralRe: OnUpdate(CCmdUI* pCmdUI) isnt called Pin
John Oliver5-Jul-02 0:07
John Oliver5-Jul-02 0:07 
Thanks, I've tried it but no luck.
The OnKickIdle method isn't called.

I'll keep trying but in case anybody has spare time here's a checklist of what's going on:

-Toolbar has same resource ID as menu. The buttons have same IDs as menu items. Menu items are updated Okay but toolbar isn't
-Class has CDlgTool member, which is derived from CToolbar and has OnIdleUpdateCmdUI method, which isn't called
-Dlg shown non-modally
m_calcDlg=new CCalcDlg(this);
m_calcDlg->Setup(m_report,m_UBuckling);
m_calcDlg->Create();
m_calcDlg->ShowWindow(SW_SHOWNORMAL);

After this I swear I'll never write a CDialog based app. ever again!
bye,
John

QuestionMAKEWPARAM ??? Pin
Alek3-Jul-02 23:09
Alek3-Jul-02 23:09 
AnswerRe: MAKEWPARAM ??? Pin
4-Jul-02 23:23
suss4-Jul-02 23:23 
Generaldevice context question Pin
3-Jul-02 22:32
suss3-Jul-02 22:32 
GeneralRe: device context question Pin
4-Jul-02 9:19
suss4-Jul-02 9:19 
GeneralVersion info managing Pin
56789012343-Jul-02 22:29
56789012343-Jul-02 22:29 
Generalhelp me in MFC Pin
HoldMe3-Jul-02 22:13
HoldMe3-Jul-02 22:13 
Generalautologin with Win2000 Pin
Jerome Conus3-Jul-02 20:13
Jerome Conus3-Jul-02 20:13 
GeneralRe: autologin with Win2000 Pin
benjymous3-Jul-02 23:20
benjymous3-Jul-02 23:20 
GeneralRe: autologin with Win2000 Pin
Mike Nordell4-Jul-02 6:19
Mike Nordell4-Jul-02 6:19 
GeneralRe: autologin with Win2000 Pin
Michael Dunn4-Jul-02 7:38
sitebuilderMichael Dunn4-Jul-02 7:38 
QuestionShrinking a WAV (audio formats)? Pin
3-Jul-02 19:03
suss3-Jul-02 19:03 
AnswerRe: Shrinking a WAV (audio formats)? Pin
Christian Graus3-Jul-02 19:38
protectorChristian Graus3-Jul-02 19:38 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Larry Antram3-Jul-02 20:04
Larry Antram3-Jul-02 20:04 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Mike Nordell4-Jul-02 16:46
Mike Nordell4-Jul-02 16:46 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Larry Antram4-Jul-02 17:18
Larry Antram4-Jul-02 17:18 
GeneralRe: Shrinking a WAV (audio formats)? Pin
5-Jul-02 7:21
suss5-Jul-02 7:21 
GeneralRe: Shrinking a WAV (audio formats)? Pin
Mike Nordell6-Jul-02 6:42
Mike Nordell6-Jul-02 6: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.