![]() |
| | #1 |
| Registered User Join Date: Sep 2005
Posts: 241
| How can I pass arguments through a GUI (win32)? Sorry if my questions were naive and/or worded poorly or vague. |
| bikr692002 is offline | |
| | #2 |
| Registered User Join Date: Jan 2005
Posts: 847
| If by GUI in the same source file you mean the window procedure then no but you'll need to declare it's prototype in a header and include the header in the source file that calls CreateWindowEx so that it knows where to look for the function defination. As for giving them values. There are messages like EM_SETTEXT/WM_SETTEXT for setting the tex on controls. Some controls like listboxes let you set an lParam value to each item when you send the appropriate message. |
| Quantum1024 is offline | |
| | #3 | |
| Registered User Join Date: Sep 2005
Posts: 241
| Quote:
| |
| bikr692002 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GUI Programming... | ShadeS_07 | C++ Programming | 12 | 12-28-2008 04:58 PM |
| Command Line Arguments Dilemma!! | Want2Know | C Programming | 2 | 09-14-2005 10:35 AM |
| Thread Synchronization :: Win32 API vs. MFC | kuphryn | Windows Programming | 2 | 08-09-2002 09:09 AM |
| .NET And GUI Programming :: C++ | kuphryn | C++ Programming | 4 | 01-27-2002 04:22 PM |
| GUI Programming :: C++ Exclusive | kuphryn | C++ Programming | 5 | 01-25-2002 03:22 PM |