Search:

Type: Posts; User: Elyubarov

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    2,190

    I have never used the HMENU parameter in...

    I have never used the HMENU parameter in CreateWindow() or CreateWindowEx(), what exactly is it for?Is this necessary for just comboboxes since it works without it on other controls such as edit or...
  2. Replies
    11
    Views
    2,190

    Maybe you should specify add WS_CHILD(speciefies...

    Maybe you should specify add WS_CHILD(speciefies it is a child window to hwnd) and WS_VISIBLE(specifies it is visible) to the style parameter. I have never worked with combobox specifically but thats...
  3. Replies
    4
    Views
    1,341

    What do you mean by "different styles"? You can...

    What do you mean by "different styles"? You can do owner drawn and make the button a bitmap if that is what you mean. msdn has a pretty good tutorial for owner drawn on that page. Maybe you are...
  4. Replies
    1
    Views
    1,874

    ChooseColor()

    This keeps freezing, what am I doing wrong?


    COLORREF cr;
    CHOOSECOLOR cc;
    cr = RGB(0,0,0);
    memset(&cc, 0, sizeof(cc));
    cc.hwndOwner = hwnd;
    cc.lStructSize = sizeof(cc);...
  5. Thread: menu

    by Elyubarov
    Replies
    5
    Views
    1,029

    maybe this is unrelated to a CheckMenuItem()...

    maybe this is unrelated to a CheckMenuItem() problem but why doesnt this work?


    case WM_CLOSE:
    if(GetFocus() == hwndtreeparent){
    HMENU hMenu;
    hMenu = GetMenu(hwnd);...
  6. Thread: menu

    by Elyubarov
    Replies
    5
    Views
    1,029

    What do you do when you specify the MF_BYPOSITION...

    What do you do when you specify the MF_BYPOSITION flag?I am not really sure where to use MF_BYCOMMAND or MF_BYPOSITION like MF_BYCOMMAND sometimes works and I just used the menu identifier for the...
  7. Replies
    2
    Views
    944

    File association

    Is there a easy way to associate a file extension with an application?
    The only way I can think of doing it is exporting a .reg file with your program and using ShellExecute(), this is a horrible...
  8. Thread: menu

    by Elyubarov
    Replies
    5
    Views
    1,029

    Heh, thanks that worked.

    Heh, thanks that worked.
  9. Thread: menu

    by Elyubarov
    Replies
    5
    Views
    1,029

    menu

    Is there a simple message to send a menu(from resource) to see if the menu item is checked?
  10. Replies
    10
    Views
    2,122

    Thanks alot, it works.

    Thanks alot, it works.
  11. Replies
    10
    Views
    2,122

    There is no DefWindowProc for WM_COMMAND..

    There is no DefWindowProc for WM_COMMAND..
  12. Replies
    10
    Views
    2,122

    Heh, now the problem is half solved. That seemed...

    Heh, now the problem is half solved. That seemed to work except now when I maximize the child window inside the mdi I see the three buttons for the childwindow in the mdi bar but I cant click them....
  13. Replies
    10
    Views
    2,122

    Here is the full source to what I am writing,...

    Here is the full source to what I am writing, perhaps you can figure out the problem:
    Source
  14. Replies
    10
    Views
    2,122

    That like didnt help at all, its a problem with...

    That like didnt help at all, its a problem with my mdi workspace, not WM_SIZE or WM_CLOSE..
  15. Replies
    10
    Views
    2,122

    mdi workspace

    I am working with a mdi workspace. Usually in other programs like if you maximize a window there is the 3 buttons for the parent window like maximize, minimize and close then there is a smaller one...
  16. Thread: HWND pointer

    by Elyubarov
    Replies
    4
    Views
    1,627

    Thank you very much, I am new to linked list,...

    Thank you very much, I am new to linked list, forgot to allocate memory for it.
  17. Thread: HWND pointer

    by Elyubarov
    Replies
    4
    Views
    1,627

    HWND pointer

    I am making a linked list with this struct:


    typedef struct _item{
    int index;
    HWND hParent;
    HWND hChild;
    char * Name;
    struct _item * next;
    } item, *pitem;
  18. Replies
    10
    Views
    1,559

    go to task manager then processes and you can see...

    go to task manager then processes and you can see the memory usage
  19. Replies
    33
    Views
    3,601

    there is no documentation, I making a client for...

    there is no documentation, I making a client for a program, I packet sniffed. Anyways, the string was always there its just when i put it in a MessageBox() the MessageBox didnt read past the...
  20. Replies
    33
    Views
    3,601

    I want it to not terminate....

    I want it to not terminate....
  21. Replies
    33
    Views
    3,601

    '\0' terminates the string.

    '\0' terminates the string.
  22. Replies
    33
    Views
    3,601

    still when i have something and do something[5] =...

    still when i have something and do something[5] = ' ', the hex of " " is 0x20 not 0x00
  23. Replies
    33
    Views
    3,601

    I have char something[50]; then char...

    I have char something[50]; then
    char something[0] = 'a';
    and i get : error C2466: cannot allocate an array of constant size 0 and
    error C2075: 'something' : array initialization needs curly...
  24. Replies
    33
    Views
    3,601

    Stop confusing me, what should i use? :'(

    Stop confusing me, what should i use? :'(
  25. Replies
    33
    Views
    3,601

    uhmm can you give me an example, i dont...

    uhmm can you give me an example, i dont understand what your getting at if i try:
    char something[0] = "a";
    char something[1] = "b";
    I get a redefinition error.
Results 1 to 25 of 38
Page 1 of 2 1 2