Search:

Type: Posts; User: ZeroG

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    955

    mouse messages, painting, tabs

    Does highlighting tab controls not work properly with XP visual styles?

    I am trying to make a custom highlighter. I changed the color of a tab control using the GDI painting functions, but then...
  2. Thread: Counting windows

    by ZeroG
    Replies
    2
    Views
    1,033

    Each time I open a certain app, I want to know...

    Each time I open a certain app, I want to know how many windows of this app are already opened.
  3. Thread: Counting windows

    by ZeroG
    Replies
    2
    Views
    1,033

    Counting windows

    I have an app which allows multiple instances.. each time I open the app, I want to dynamically allocate some storage for each already opened window.

    What is the best way to count how many are...
  4. Replies
    6
    Views
    1,045

    try http://winprog.net/, especially the dialogs...

    try http://winprog.net/, especially the dialogs page.
  5. Replies
    2
    Views
    1,188

    aha, you are correct. thanks. i also got "lucky"...

    aha, you are correct. thanks.
    i also got "lucky" with calculator then..
    and CreateProcess() is such a behemoth of a function.
  6. Replies
    2
    Views
    1,188

    doing stuff with mspaint

    i am trying to get mspaint to show the 'open' dialog..


    WinExec("mspaint",SW_SHOW);
    HWND hpaint = FindWindow("MSPaintApp",0);
    SendMessage(hpaint,WM_COMMAND,57601,0);

    what is wrong? it...
  7. Replies
    1
    Views
    1,101

    add menu to property sheets

    what steps do i need to follow? no need to post code, maybe just API names?
  8. Replies
    6
    Views
    2,050

    scanf("%f", &time); accel =...

    scanf("%f", &time);

    accel = calc_answer(vi, vf, time);
    show_answer(accel);

    and i have no idea whats going on with the return statement.
  9. Thread: readfile

    by ZeroG
    Replies
    3
    Views
    1,167

    ohh yeah. silly me. thanks.

    ohh yeah. silly me. thanks.
  10. Thread: vc file io

    by ZeroG
    Replies
    1
    Views
    1,014

    vc file io

    my visual c++ 6 seems to not define ios_base::beg, cur and end, as used by ostream::seekp .. i am #including <fstream.h>. is this right? these values don't even appear in the IDE thing that completes...
  11. Thread: readfile

    by ZeroG
    Replies
    3
    Views
    1,167

    readfile

    can someone explain how to use ReadFile easily? for the most basic of read operations? the code compiles but fails on execution.


    HANDLE file =...
  12. Thread: math libs?

    by ZeroG
    Replies
    7
    Views
    1,336

    thanks all for links and ideas.

    thanks all for links and ideas.
  13. Thread: math libs?

    by ZeroG
    Replies
    7
    Views
    1,336

    thanks.

    thanks.
  14. Thread: math libs?

    by ZeroG
    Replies
    7
    Views
    1,336

    works fine for ints, but how about floating...

    works fine for ints, but how about floating point? And how do you do logarithms by hand? (I only know to use log tables)
  15. Thread: math libs?

    by ZeroG
    Replies
    7
    Views
    1,336

    math libs?

    I need to implement some math functions without depending on a C library (such as exp, pow and log).. Where can I find algorithms or even code?
  16. Thread: edit controls

    by ZeroG
    Replies
    0
    Views
    985

    edit controls

    I've changed all the edit controls and buttons in a DialogBox to use a custom cursor with GetDlgItem and SetClassLong. However if the mouse is directly on the border of the edit controls then it...
  17. Thread: dialog procedure

    by ZeroG
    Replies
    6
    Views
    1,680

    hm, MSDN doesnt have SetWindowHook() although...

    hm, MSDN doesnt have SetWindowHook() although SetWindowsHookEx() is there. Unfortunately we can't get to the message loop of a DialogBox..
  18. Thread: shifting arrays

    by ZeroG
    Replies
    6
    Views
    1,861

    i know, but since someone's already written one.

    i know, but since someone's already written one.
  19. Thread: shifting arrays

    by ZeroG
    Replies
    6
    Views
    1,861

    aha yes, memmove is what i wanted, thanks.

    aha yes, memmove is what i wanted, thanks.
  20. Thread: dialog procedure

    by ZeroG
    Replies
    6
    Views
    1,680

    ah, hooking..anyone care to give more info on...

    ah, hooking..anyone care to give more info on that?
    as for MFC, since its basically an api wrapper, how would the PreTranslateMessage be implemented in win32?
  21. Thread: shifting arrays

    by ZeroG
    Replies
    6
    Views
    1,861

    shifting arrays

    is there a library function which does something similar to shifting each of the elements in an array up or down (clearing the first element) and inserting the user input into the new empty one?
    ...
  22. Thread: dialog procedure

    by ZeroG
    Replies
    6
    Views
    1,680

    dialog procedure

    is it possible for a DialogBox to catch WM_KEYDOWN and similar messages no matter which control has the focus?
  23. Thread: WinAPI Tuts

    by ZeroG
    Replies
    3
    Views
    1,104

    http://www.functionx.com/win32/ is also good.

    http://www.functionx.com/win32/ is also good.
  24. Replies
    3
    Views
    10,176

    it is not korean, it is CHINESE

    it is not korean, it is CHINESE
  25. Replies
    4
    Views
    1,966

    yea, but both of these need the MSG struct, which...

    yea, but both of these need the MSG struct, which is what i was asking for.

    is it ok to return the result of CreateDialog in WinMain?
Results 1 to 25 of 27
Page 1 of 2 1 2