CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ruderudy

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    4,911

    I need to get Dialog handle

    Hi,
    I created modal dialog with DialogBoxIndirectParam and dialogtemplate structure.
    How do I get handle (HWND) of dialog?

    Without handle of this dialog it causes problems showing another dialog...
  2. Replies
    3
    Views
    1,474

    Re: Combobox with bitmaps or icons

    Thank you. I will give it a try
  3. Replies
    3
    Views
    1,474

    Combobox with bitmaps or icons

    Hi,
    I have a Combobox and I want to add bitmaps/icons (only) to it.

    The bitmaps are 32x32 in size. Can I convert them to Icons and avoid having an ownerdrawn combobox?
    How do I do it in any...
  4. Re: Programming-practise for LO- and HI-WORD in WM_COMMAND?

    I see, so its a matter of taste?
  5. Replies
    4
    Views
    4,959

    Re: WndProc break or return

    return will actually return out of the function. the return value is important here. some, but not all need to return DefWindowProc.
    break means that it will break out the switch clauses, so...
  6. Programming-practise for LO- and HI-WORD in WM_COMMAND?

    Hi again,
    I was wondering about one particular thing.
    is there a good way to handle the HI and LO word of wParam (or lParam) for that matter.

    i have one nested switch with HIWORD(wParam) first...
  7. Replies
    4
    Views
    5,422

    Re: how to handle spincontrol

    yeah, I fixed it. Thanks
  8. Replies
    4
    Views
    5,422

    [RESOLVED] how to handle spincontrol

    Hi,

    Seems like editbox allready have a spincontrol attached as default if one use WS_VSCROLL in style while creating the editbox window.
    No WM_VSCROLL message is being sent when clicking on arrow...
  9. returning a value versus public member access

    if i are doing this thousands or even millions of times,
    does the compiler optimize this, or is public member access much faster than returning the variable?

    lets say i have a member called...
  10. Replies
    8
    Views
    7,892

    Re: GDI+ Coordinates

    You make your conversion from NDC to screenspace before you use your DrawLine.


    taken from http://www.extremetech.com/article2/0,2845,1155158,00.asp
  11. Thread: Timeline view

    by ruderudy
    Replies
    0
    Views
    7,334

    Timeline view

    Hi,

    Looking for a way to make a Timeline view in C# WinForms. I don't want to use Silverlight. I don't want to override/draw OnPaint too much (preferably not at all). I dont want to use a library,...
  12. Thread: Scrollbars

    by ruderudy
    Replies
    3
    Views
    736

    Re: Scrollbars

    I just thought i had to handle the scrolling stuff for myself, but it worked very nice!
    So thanks alot.
    i sometimes make things too difficult for myself. hehe
  13. Thread: Scrollbars

    by ruderudy
    Replies
    3
    Views
    736

    Scrollbars

    I have a question for experienced win32 api coders.
    My problem is this:

    I have a dialog with a listbox. this listbox are updated with strings sometimes while program is running. i want to add a...
  14. Replies
    23
    Views
    15,374

    Re: Using goto in c++ code

    If you look at his code this is exactly what he wants.
    I was just suggesting a simpler solution.

    Anyway, back to coding :)
  15. Replies
    23
    Views
    15,374

    Re: Using goto in c++ code

    It is good programming style to use the break, continue, and return statement in preference to goto whenever possible. Since the break statement only exits from one level of the loop, a goto may be...
  16. Replies
    1
    Views
    629

    Re: Windows overdrawing problems

    ah, WS_CLIPSIBLINGS did the work :)

    although, i need to reorder the windows, probably with setwindowpos or something..
    gonna try it.
  17. Replies
    1
    Views
    629

    Windows overdrawing problems

    I'm being frustrated over this problem and I dare to try and find out how to fix it.
    I've attachment a screenshot of the following problem. And I have been too lazy learning about window's and about...
  18. Replies
    6
    Views
    1,105

    Re: Parent Child Windows-Tree? (not treeview)

    hi, im back.
    now i've been away from this project for a while.

    how do i check if a window is parent or child?
    i only need to pass the handle to the window to a function to check it.
    since this...
  19. Replies
    6
    Views
    1,105

    Re: Parent Child Windows-Tree? (not treeview)

    Ah, no problemo, this was geniously helpfull! i now have the window's titlename and id's in the logger! thanks again!
  20. Replies
    6
    Views
    1,105

    Re: Parent Child Windows-Tree? (not treeview)

    thanks for the response! ill definitively get some sleep in the next couple of hours, before that ill dig a little into this EnumChildWindows-function and see if i get what i want.
  21. Replies
    6
    Views
    1,105

    Parent Child Windows-Tree? (not treeview)

    I am working on this big hobby project, i've never worked on such a big project before so I need some expert-advice from someone who has been in the game for a very long time or atleast someone who...
  22. Replies
    2
    Views
    876

    Re: ListView column-editable only?

    thanks for the tip. i'll check those urls out!
  23. Replies
    2
    Views
    876

    ListView column-editable only?

    I have created a ListView window and I wanna edit the rows (hence items/subitems) in the other columns. Seems like the first one is the only one that can do this? or have i missed some important...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured