Type: Posts; User: meesa
Search took 0.01 seconds.
June 20th, 2011, 12:21 PM
The image is attached. Thanks for the help.
I'm creating a program, and I need to load a PNG image from the resource files. The goal is simple, pass a Bitmap object by reference to a function, which assigns the PNG from the stream to it, and...
February 26th, 2011, 05:34 PM
And that I do appreciate. I wouldn't have known that is how it worked if it wasn't for your telling me. :)
February 26th, 2011, 03:16 PM
I see what you mean. I think I'll stick with the method I found though, as it is easier to expand.
February 26th, 2011, 02:25 PM
I found it!
With the help of http://www.cplusplus.com/forum/windows/36860 I changed my search from "shortcut" to "hotkey" I found something about keyboard accelerators...
February 21st, 2011, 09:48 AM
Thanks for all your help then.
February 20th, 2011, 07:44 PM
Also, I was thinking about it, and that wouldn't work, as I am probably going to want Esc to do something else on the main main window.
February 20th, 2011, 07:29 PM
Okay, thanks. Is that a common practice for that kind of thing? It seems odd having that there when that window and any others like it (If there are any) will hardly ever be open.
February 20th, 2011, 09:44 AM
February 20th, 2011, 09:29 AM
Correct, I tried putting a WM_COMMAND case on my main window's procedure, and nothing happened. When escape is pressed nothing is sent to WM_COMMAND.
How is it that programs can use things like...
February 19th, 2011, 10:18 AM
I don't have a dialog procedure... or I don't think I do (Still new at this) Everything is made from windows.
Here is a shortened structure:
February 19th, 2011, 10:09 AM
That did it. I guess I should have read both documentations. :)
Thanks for all the help!
February 18th, 2011, 05:28 PM
It's not working. When I have the line InitCommonControlsEx(&InitCtrls); I get:
Yes, I have the right header.
February 18th, 2011, 05:08 PM
That's part of the reason I posted. However, once one of my edit boxes gets clicked, or my scrollbar gets moved, the top level window is no longer gettings the messages.
February 13th, 2011, 08:23 PM
It's a GUI, but it could be on about 5 different window procedures, so do I have to put 5 different cases?
February 12th, 2011, 10:05 AM
Then where do I put it? Before any new windows, after new windows, run them once at the beginning of the program and I'm done...?
February 12th, 2011, 09:25 AM
That line was copied directly from MSDN. However, all the asterisk does it targets all processors rather than just X86 processors.
And I'd like to know how to do it without MFC, that's why I...
February 12th, 2011, 12:37 AM
I have a window with some settings in it, and I want to be able to close that window via the [Esc] key. However, since I don't want to put that response into every procedure that I have, and since I...
February 12th, 2011, 12:22 AM
I updated my code to this:
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='184.108.40.206' processorArchitecture='*'...
February 11th, 2011, 07:53 PM
How do I use themes with win32? I tried doing some research on the matter, and found that supposedly, if I add:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
Click Here to Expand Forum to Full Width