I've tried several things.. but i keep getting errors in the SetClipboardData() line.
The problem I have is when trying to add Strings to it.
SetClipboardData(CF_Text,"Hi");
does not work...
Type: Posts; User: void
I've tried several things.. but i keep getting errors in the SetClipboardData() line.
The problem I have is when trying to add Strings to it.
SetClipboardData(CF_Text,"Hi");
does not work...
Worked like a charm, thanks!
If I have a resource editor created dialog in VC++, is it possible to compile it and choose which icon will be shown for the exe?
I know this can be done by creating the window by making the...
Nobody can help huh ;(
How can I detect a WM_LBUTTONDOWN on a progress bar control? I tried setting a default action for this event in the dialog so that the form can be dragged around, but this only works for my Statics...
Thanks :)
*adds to favorites*
Okay, I'm trying to create translucent windows.. I have the following code to achieve this (directly from msdn):
SetWindowLong(hwnd, GWL_EXSTYLE,
GetWindowLong(hwnd, GWL_EXSTYLE) |...
How can I round floats up to any number of decimal points?
For instance.. if I have 34.52348.. I could call the function, something like round(24.52348,2) to round it up to 24.52... Maybe there's a...
bah, nobody has ANY ideas WHATSOEVER!?!?!
At least tell me something like "No, you're screwed." ;x
PS: No, I did not mean that :(
My other thread was deleted.. "somehow"...
Anyway.. I still can't make any dialogs created in the resource editor appear if they have common controls... why on earth is that??? Is my comp just...
Okay, I checked what was wrong and tried adding different objects to the dialog.. it seems that when I add Common Controls such as progress bars or listviews, the dialog does not show. However, all...
Hmm.. I tried:
SendMessage(GetDlgItem(hWnd,IDPB),PBM_SETPOS,0,50);
but it doesn't seem to work :<.. help a newbie with this basic stuff and he'll never bother you again
rofl
kbnow?? blah I suck at this.. what do you mean by that?? ;\
Thanks, that really helped.
One thing though... how can I get like, the hwnd of a progress bar created in a resource??? Otherwise I can't use SendMessage() to edit it...
Thanks for the help :)
How can I get the state of check/radio boxes in dialogs???
I know I can use GetDlgItemText() (i think) for the caption/text, but I dunno what to use for the state.
Also, does anyone know a good...
Can anyone tell me how to use the GlobalMemoryStatus API to get Memory/Page File/etc Information in C++??
Also, I'd really appreciate it if you could give me a site where I can find examples of...
I'm just starting C++, and I need help with a something....
How can I concatenate numerical data (integers/longs) to string values??
I've tried some things but nothing works..
Thanks in advance...