Type: Posts; User: Notsosuperhero
Search took 0.07 seconds.
The sports are amazing. Its definitely worth it.
I got a new TV a few months ago, my dad was like "Why would you pay so much for a TV?" then I turned on a football game and he didn't want to leave...
It is a property grid, you can maybe get something like it with Property Sheets.
I would only say that as an addition to the answer I have given, like just to find maybe some other possibly better solutions.
I agree though it is extremely rude.
April 1st, 2009, 01:11 PM
Either set wc.lpszMenuName to the ID of the menu resource(use the macro MAKEINTRESOURCE(id)), or use LoadMenu to load the menu.
February 28th, 2009, 09:38 PM
Well, you could do many things with WinAPI. MFC is just basically WinAPI wrapped in fancy classes.
Can't really comment on .NET as I don't use it.
But if you want WinAPI you should get...
February 25th, 2009, 01:06 PM
Well you don't need to switch the message in WndProc, you're application will still run, since DefWindowProc will handle all the messages in Window's default way, but if you don't handle WM_DESTROY...
February 24th, 2009, 09:17 PM
wndclass.style = CS_HREDRAW || CS_VREDRAW;
wndclass.style = CS_HREDRAW | CS_VREDRAW;
You have the logical OR you need the binary OR to combine style flags.
February 21st, 2009, 04:20 PM
Maybe one of these
I'm not sure, never did anything regarding MTP devices.
February 18th, 2009, 03:49 AM
You will get the linker errors if you include the header but not the library. The header contains declarations, the library contains the actual implementation of the functions.
February 17th, 2009, 04:31 AM
You need to link to the comctl32.lib library
February 8th, 2009, 01:46 PM
You have a lot of basic questions. I think you should go and look up some C++ tutorials online or get a beginner C++ book.
February 3rd, 2009, 12:03 PM
Thats because CreateProcess just immediately returns, so the window isn't fully created yet when you call FindWindow.
If you look at CreateProcess on MSDN it stats in the 'Remarks' section that...
February 1st, 2009, 11:30 PM
You can use ShellExecute or ShellExecuteEx to launch the Notepad, then you can use FindWindow with the class name "Notepad":
January 19th, 2009, 01:01 PM
I just installed Kubuntu 64 bit. I opted to make its loader cut my HD in half so half is Windows, half is Linux, worked perfectly fine. Once I reformat it(probably going to buy XP Pro instead of Home...
January 13th, 2009, 09:34 PM
January 13th, 2009, 01:24 PM
I'm not sure, haven't worked with AVI files.
December 24th, 2008, 04:17 AM
Martha And The Vandellas - Nowhere To Run
/ Man I love that motown stuff so catchy
December 21st, 2008, 10:45 PM
You aren't assigning anything this. You need assign the function pointer.
hkprcSysMsg = (HOOKPROC)GetProcAddress(hinstDLL, L"MyMouseProc");
December 18th, 2008, 05:37 PM
Marty Friedman - The Brightest Star of All
/ really touching tribute to Jason Becker
December 12th, 2008, 02:44 AM
When I was little my family was on vacation and my dad let my mom drive the boat and she plowed straight into the biggest wave on the lake(not a huge wave or anything) but I almost fell off the boat,...
December 12th, 2008, 01:48 AM
In WM_CLOSE in your window procedure you can do:
if (MessageBox(hWnd, "Are You Sure You Want To Exit?", "Exit", MB_YESNO) == IDYES)
December 12th, 2008, 01:40 AM
Well MFC is basically Win32 put in classes. I was thrown off by Edit->Text since the '->' operator is used to get access to a class' function or member. In Win32 an edit box is created by calling...
December 11th, 2008, 03:25 AM
I use HTMLHelp from Microsoft to create the help files in CHM format.
Then you can add a button and in the button handler(parent window's WM_COMMAND, the button is the LOWORD of wParam) use...
December 11th, 2008, 02:44 AM
Do you want to add the string of the edit box to the end of the message?
MessageBox takes 4 arguments:
MessageBox(HWND hWnd, LPCTSTR lpText, LPCTSTR lpTitle, UINT uType)
You can use...
Click Here to Expand Forum to Full Width