Click here to Skip to main content
16,006,065 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Changing Windows colors not handled in ownerdraw buttons Pin
18-Jun-02 6:08
suss18-Jun-02 6:08 
GeneralCMDIFrameWnd in CMDIChildWnd view Pin
thkoch18-Jun-02 2:27
thkoch18-Jun-02 2:27 
Generalflexgrid woes Pin
yeeeooowww18-Jun-02 2:23
yeeeooowww18-Jun-02 2:23 
GeneralRe: flexgrid woes Pin
Michael P Butler19-Jun-02 1:15
Michael P Butler19-Jun-02 1:15 
GeneralOn dialog box move.... Pin
newneo18-Jun-02 2:02
newneo18-Jun-02 2:02 
GeneralRe: On dialog box move.... Pin
perlmunger19-Jun-02 9:59
perlmunger19-Jun-02 9:59 
GeneralHandling dynamically added toolbar button events... Pin
Mohit Khanna18-Jun-02 1:49
Mohit Khanna18-Jun-02 1:49 
GeneralRe: Handling dynamically added toolbar button events... Pin
dazinith18-Jun-02 4:02
dazinith18-Jun-02 4:02 
toolbar buttons will normally appear dimmed out if they do not have a message handler associated with them, so it sounds like the real problem is where to handle it, as once the event is handled the button should not be dimmed out.

make sure that you have the right ID for the button that is created, since the button is added to a toolbar that is a member of CMainFrame i would assume that the command should be in the CMainFrame's message map..
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_COMMAND(ID_OPTIONS, OnOptions)
END_MESSAGE_MAP()
wish i could help more.. but im a newbie..

-dz
GeneralRe: Handling dynamically added toolbar button events... Pin
Mohit Khanna18-Jun-02 4:09
Mohit Khanna18-Jun-02 4:09 
QuestionHow to set IP address on Windows NT/2000? Pin
18-Jun-02 1:17
suss18-Jun-02 1:17 
GeneralImage Display Pin
sikanderrafiq18-Jun-02 0:56
sikanderrafiq18-Jun-02 0:56 
GeneralRe: Image Display Pin
Christian Graus18-Jun-02 1:14
protectorChristian Graus18-Jun-02 1:14 
GeneralRe: Image Display Pin
Tommy Svensson24-Jun-02 6:24
Tommy Svensson24-Jun-02 6:24 
GeneralRe: Image Display Pin
Chris Losinger18-Jun-02 1:46
professionalChris Losinger18-Jun-02 1:46 
GeneralRe: Image Display Pin
Christian Graus18-Jun-02 1:59
protectorChristian Graus18-Jun-02 1:59 
GeneralRe: Image Display Pin
Chris Losinger18-Jun-02 2:12
professionalChris Losinger18-Jun-02 2:12 
GeneralRe: Image Display Pin
James R. Twine18-Jun-02 3:12
James R. Twine18-Jun-02 3:12 
GeneralRe: Image Display Pin
Chris Losinger18-Jun-02 3:14
professionalChris Losinger18-Jun-02 3:14 
GeneralRe: Image Display Pin
sikanderrafiq18-Jun-02 19:37
sikanderrafiq18-Jun-02 19:37 
GeneralCan't delete registry key Pin
Hans Ruck17-Jun-02 23:41
Hans Ruck17-Jun-02 23:41 
GeneralRe: Can't delete registry key Pin
Stefan Pedersen17-Jun-02 23:59
Stefan Pedersen17-Jun-02 23:59 
GeneralRe: Can't delete registry key Pin
Hans Ruck18-Jun-02 0:01
Hans Ruck18-Jun-02 0:01 
GeneralRe: Can't delete registry key Pin
Navin18-Jun-02 2:21
Navin18-Jun-02 2:21 
GeneralRe: Can't delete registry key Pin
Thomas Freudenberg18-Jun-02 3:03
Thomas Freudenberg18-Jun-02 3:03 
Generalofstream::put() writes 2 bytes instead of 1?! Pin
Sprudling17-Jun-02 23:38
Sprudling17-Jun-02 23:38 

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.