Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
Jay Beckert28-Jul-02 4:08
Jay Beckert28-Jul-02 4:08 
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
Anonymous28-Jul-02 17:53
Anonymous28-Jul-02 17:53 
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
Peter Occil28-Jul-02 9:22
Peter Occil28-Jul-02 9:22 
GeneralDirectX Pin
Selevercin27-Jul-02 18:16
Selevercin27-Jul-02 18:16 
GeneralRe: DirectX Pin
sultan_of_6string28-Jul-02 4:10
sultan_of_6string28-Jul-02 4:10 
GeneralRe: DirectX Pin
Mike Nordell28-Jul-02 22:23
Mike Nordell28-Jul-02 22:23 
GeneralRe: DirectX Pin
Selevercin29-Jul-02 8:09
Selevercin29-Jul-02 8:09 
QuestionWhat did I do? Pin
JohnnyG27-Jul-02 16:44
JohnnyG27-Jul-02 16:44 
I'm still learning MFC and started a test project that I am using to learn how to enable/disable menu items and toolbar buttons. I did not know whether or not to name the toolbar buttons on the CDialogBar toolbar with the same IDs as the menu items.

After changing some of the toolbar buttons to the same IDs, I got everything to work except one button which the resource editor would not allow me to change because it said I had a duplicate ID. The only difference with this one is that it is for a menu called "IDR_STOPMENU" that gets inserted once the user selects an action and gets removed after the "ID_STOPMENU" menuitem is selected from within this menu.

So, figuring that maybe the order of the buttons on the toolbar were not the same as the menuitems, I started to play around with the order and finally was able to change one other button but then I decided to manually change the command ID used in the OnStopMenu() and ON_UPDATE_COMMAND_UI() functions as well as in the resource editor because I thought ID_MENUSTOP looked stupid when used as an ID on both the menu and button. This screwed everything up so I put everything back and now if I put a breakpoint in either of these two functions they are not called at all. How do I get back? Did I do something that screwed up classwizard or what?
GeneralSTL error handling Pin
peterchen27-Jul-02 10:36
peterchen27-Jul-02 10:36 
GeneralRe: STL error handling Pin
Alexandru Savescu27-Jul-02 20:39
Alexandru Savescu27-Jul-02 20:39 
GeneralRe: STL error handling Pin
peterchen27-Jul-02 21:35
peterchen27-Jul-02 21:35 
GeneralRe: STL error handling Pin
Mike Nordell28-Jul-02 22:28
Mike Nordell28-Jul-02 22:28 
QuestionCan a CEdit control do this?..... Pin
nss27-Jul-02 10:01
nss27-Jul-02 10:01 
AnswerRe: Can a CEdit control do this?..... Pin
peterchen27-Jul-02 10:40
peterchen27-Jul-02 10:40 
GeneralTask Bar Funtionality Replication Pin
gekoscan27-Jul-02 9:57
gekoscan27-Jul-02 9:57 
GeneralRe: Task Bar Funtionality Replication Pin
Michael P Butler27-Jul-02 10:16
Michael P Butler27-Jul-02 10:16 
Generalmessage encapsulation Pin
detect27-Jul-02 8:16
detect27-Jul-02 8:16 
GeneralRe: message encapsulation Pin
detect29-Jul-02 4:35
detect29-Jul-02 4:35 
QuestionHow To Write Code To Change The Printer Resolution Pin
ooosawaddee327-Jul-02 7:43
ooosawaddee327-Jul-02 7:43 
AnswerRe: How To Write Code To Change The Printer Resolution Pin
l a u r e n28-Jul-02 0:35
l a u r e n28-Jul-02 0:35 
GeneralRe: How To Write Code To Change The Printer Resolution Pin
Branislav28-Jul-02 4:38
Branislav28-Jul-02 4:38 
Generalindex not within bounds? Help !! Pin
nss27-Jul-02 7:18
nss27-Jul-02 7:18 
GeneralRe: index not within bounds? Help !! Pin
nss27-Jul-02 8:01
nss27-Jul-02 8:01 
GeneralRe: index not within bounds? Help !! Pin
Ravi Bhavnani27-Jul-02 8:02
professionalRavi Bhavnani27-Jul-02 8:02 
GeneralRe: index not within bounds? Help !! Pin
nss27-Jul-02 8:40
nss27-Jul-02 8:40 

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.