Click here to Skip to main content
16,017,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dynamic popup menu Pin
bryce7-Aug-02 21:29
bryce7-Aug-02 21:29 
GeneralRe: dynamic popup menu Pin
Chris Losinger7-Aug-02 21:31
professionalChris Losinger7-Aug-02 21:31 
GeneralRe: dynamic popup menu Pin
bryce7-Aug-02 21:33
bryce7-Aug-02 21:33 
GeneralRe: dynamic popup menu Pin
Chris Losinger7-Aug-02 21:35
professionalChris Losinger7-Aug-02 21:35 
GeneralRe: dynamic popup menu Pin
bryce7-Aug-02 21:37
bryce7-Aug-02 21:37 
GeneralRe: dynamic popup menu Pin
Bill S7-Aug-02 19:28
professionalBill S7-Aug-02 19:28 
GeneralRe: dynamic popup menu Pin
bryce7-Aug-02 21:10
bryce7-Aug-02 21:10 
GeneralRe: dynamic popup menu Pin
Bill S8-Aug-02 6:45
professionalBill S8-Aug-02 6:45 
bryce wrote:
because if i want say 200, then i hafta go into the resrouce.h and #define 200(or whatever)

Why do you have to define these in resource.h?

You can simply add another include file to the project that contains special defines, constants, etc. like "MyToolDefs.h" and add them there. Just add this new Project include file to the file list for the cpp file that needs it. In reality you don't even have to use defines or constants unless you want to make it easier to change the values in only a single place down the road.

Best Regards,
GeneralGUID generation Pin
unknown soldier7-Aug-02 18:30
unknown soldier7-Aug-02 18:30 
GeneralRe: GUID generation Pin
Bill S7-Aug-02 19:31
professionalBill S7-Aug-02 19:31 
GeneralCreating DLL from C++ class Pin
Anonymous7-Aug-02 17:35
Anonymous7-Aug-02 17:35 
GeneralRe: Creating DLL from C++ class Pin
Chris Losinger7-Aug-02 17:46
professionalChris Losinger7-Aug-02 17:46 
GeneralRe: Creating DLL from C++ class Pin
Anonymous7-Aug-02 18:37
Anonymous7-Aug-02 18:37 
GeneralRe: Creating DLL from C++ class Pin
Paul M Watt7-Aug-02 21:07
mentorPaul M Watt7-Aug-02 21:07 
GeneralRe: Creating DLL from C++ class Pin
Chris Losinger7-Aug-02 21:28
professionalChris Losinger7-Aug-02 21:28 
GeneralRe: Creating DLL from C++ class Pin
Paul M Watt8-Aug-02 11:45
mentorPaul M Watt8-Aug-02 11:45 
GeneralRe: Creating DLL from C++ class Pin
Paul M Watt7-Aug-02 21:13
mentorPaul M Watt7-Aug-02 21:13 
GeneralRe: Creating DLL from C++ class ... plugin DLLs? Pin
Anonymous7-Aug-02 21:21
Anonymous7-Aug-02 21:21 
GeneralTrackPopupMenu & WM_MENURBUTTONUP Pin
GregH7-Aug-02 17:31
GregH7-Aug-02 17:31 
GeneralRe: TrackPopupMenu & WM_MENURBUTTONUP Pin
Michael Dunn7-Aug-02 17:40
sitebuilderMichael Dunn7-Aug-02 17:40 
GeneralRe: TrackPopupMenu & WM_MENURBUTTONUP Pin
GregH7-Aug-02 17:53
GregH7-Aug-02 17:53 
Generala very simple question.about removing starting bytes from a char* Pin
nss7-Aug-02 17:28
nss7-Aug-02 17:28 
GeneralRe: a very simple question.about removing starting bytes from a char* Pin
Michael Dunn7-Aug-02 17:43
sitebuilderMichael Dunn7-Aug-02 17:43 
GeneralWow!!!! Thanks a million!! Pin
nss7-Aug-02 18:04
nss7-Aug-02 18:04 
GeneralRe: Wow!!!! Thanks a million!! Pin
Christian Graus7-Aug-02 18:28
protectorChristian Graus7-Aug-02 18:28 

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.