Perfect, this works exactly as planned. Thanks.
Type: Posts; User: RedZone
Perfect, this works exactly as planned. Thanks.
I'm sending a message directly to the button on the dialog with
SendDlgItemMessage(hDlg, IDC_OKAYBUTTON, BM_SETIMAGE, (WPARAM)IMAGE_BITMAP, (LPARAM)LoadBitmap(GetModuleHandle(NULL),...
I'm having a problem with the dialog button control. I have loaded a bitmap over the button (successfully), however, the border around the button remains. I've made sure that there's nothing...
Wow, that was unusually simple, and here I was looking at string.h for reference. Thanks.
Using C strings is there such a way as to insert a string into another one at a specified index? So far I have it working successfully by
strcpy(CommandBuffer, "PRIVMSG ");...
Thanks for the help, fixed everything and it works just as I wanted it to.
Windows XP
This is helpful but MSDN tells me that I need Vista.
If I wanted to get the full path of my running program is there a C++ equivalent to App.Path or does this have to be done in a long and tedious process?
Basically, I've decided to mess around with sockets and create a telnet style IRC client. However, I am having a problem with the program getting the chat from the server channel and simultaneously...
I've recently been wondering how one would go about adding an external window into a created dialog. e.g. I create a dialog and want Notepad to become part of it when Notepad is launched. If its...
If you're doing it the old way like hes doing [#include <iostream.h>] then you need windows.h
Could use cin.get(); instead of system("PAUSE"); so you dont have to include windows.h.
I dont use Dev-C++, it compiles/runs fine for me using VC++. Try adding return 0; at the end of main, that -might- solve it.
Might be wrong, but isnt it always a 0 thats added in bit shift?
Download link 1
Download link 2
ShowWindow(hWnd, SW_SHOWMAXIMIZED);