Search:

Type: Posts; User: void

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,066

    Adding text to the Windows Clipboard (API)..

    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...
  2. Replies
    2
    Views
    1,190

    Worked like a charm, thanks!

    Worked like a charm, thanks!
  3. Replies
    2
    Views
    1,190

    Icons in dialogs...

    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...
  4. Thread: How can I...

    by void
    Replies
    6
    Views
    1,177

    :(

    Nobody can help huh ;(
  5. Thread: How can I...

    by void
    Replies
    6
    Views
    1,177

    How can I...

    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...
  6. Replies
    2
    Views
    2,361

    Thanks :) *adds to favorites*

    Thanks :)
    *adds to favorites*
  7. Replies
    2
    Views
    2,361

    SetLayeredWindowAttributes

    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) |...
  8. Replies
    5
    Views
    1,193

    Rounding numbers up...

    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...
  9. Replies
    3
    Views
    2,081

    bah, nobody has ANY ideas WHATSOEVER!?!?! At...

    bah, nobody has ANY ideas WHATSOEVER!?!?!
    At least tell me something like "No, you're screwed." ;x

    PS: No, I did not mean that :(
  10. Thread: Help please..

    by void
    Replies
    1
    Views
    957

    Help please..

    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...
  11. Replies
    3
    Views
    2,081

    Dialog not opening... (Reviewed)

    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...
  12. Replies
    9
    Views
    1,589

    Hmm.. I tried: ...

    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
  13. Replies
    9
    Views
    1,589

    rofl

    rofl
  14. Replies
    9
    Views
    1,589

    kbnow?? blah I suck at this.. what do you mean by...

    kbnow?? blah I suck at this.. what do you mean by that?? ;\
  15. Replies
    9
    Views
    1,589

    Thanks, that really helped. One thing though......

    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 :)
  16. Replies
    9
    Views
    1,589

    Getting state of Dialog objects

    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...
  17. Thread: Api

    by void
    Replies
    2
    Views
    933

    Api

    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...
  18. Thread: help a newbie :(

    by void
    Replies
    2
    Views
    941

    help a newbie :(

    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...
Results 1 to 18 of 18