I'm glad you figured it out. The message parameter macro GET_WM_COMMAND_ID() should have gotten you the correct control id and not given you issues of wmEvent vs wmId.
As an aside since you were interested in reorganizing your code into classes. See my new tutorial: http://www.dreaminco...sing-c-classes/
General Discussion
- Caffeine Lounge
- Corner Cubicle
- Student Campus
- Software Development
- Industry News
- Introduce Yourself
- Nightmare.In.Code
Programming Help
- C and C++
- VB.NET
- Java
- C#
- ASP.NET
- .NET Framework
- VB6
- PHP
- Ruby
- Python
- ColdFusion
- Databases
- Other Languages
- Game Development
- Mobile Development
- 52 Weeks Of Code
Web Development
- Web Development
- HTML & CSS
- JavaScript
- Graphic Design
- Flash & ActionScript
- Blogging
- SEO & Advertising
- Web Servers & Hosting
- Site Check
Follow & Share
Give It A Try!
C++ Tutorials
- Bezier Curves Part 1 [Linear Algebra Series]
- STL Algorithms ~ Tutorial 1: Using sort()
- C++ Windows Charting Library Part 5
- C++ Windows Charting Library Part 4
- C++ Windows Charting Library Part 3
- C++ Windows Charting Library Part 2
- C++ Windows Charting Library Part 1
- Win32 Image Editing Program Part3.
- Drag and Drop Files Demo in C.
- Win32 Image Editing Program Part2
- 336 More C++ Tutorials...
Reference Sheets
C++ Snippets
- Linked List Class
- Insertion Sort Example
- Recursive Fibonacci Sequence
- C++ calculator
- Finding Square Root without using sqrt()
- integer to string conversion
- C++ Int to String
- Getting Current Directory
- Convert cases of strings
- Shortest Function to Reverse a String ( Uses Recursion )
- 954 More C++ Snippets...
DIC Chatroom
Bye Bye Ads
Monthly Drawing

New Topic/Question
Reply




MultiQuote
|