Type: Posts; User: ruderudy
Search took 0.01 seconds.
January 1st, 2015, 10:57 AM
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...
November 8th, 2014, 04:02 AM
Thank you. I will give it a try
November 7th, 2014, 03:06 AM
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...
October 16th, 2014, 12:45 PM
I see, so its a matter of taste?
October 16th, 2014, 09:08 AM
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...
October 16th, 2014, 08:58 AM
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...
October 16th, 2014, 07:15 AM
October 15th, 2014, 04:35 PM
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...
February 24th, 2011, 05:22 PM
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...
February 22nd, 2011, 10:59 AM
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
February 22nd, 2011, 10:29 AM
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,...
June 21st, 2009, 10:57 AM
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
June 21st, 2009, 08:58 AM
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...
If you look at his code this is exactly what he wants.
I was just suggesting a simpler solution.
Anyway, back to coding :)
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...
ah, WS_CLIPSIBLINGS did the work :)
although, i need to reorder the windows, probably with setwindowpos or something..
gonna try it.
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...
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.
April 30th, 2009, 05:33 AM
Ah, no problemo, this was geniously helpfull! i now have the window's titlename and id's in the logger! thanks again!
April 30th, 2009, 05:06 AM
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.
April 30th, 2009, 03:53 AM
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...
February 1st, 2009, 04:36 AM
thanks for the tip. i'll check those urls out!
February 1st, 2009, 01:37 AM
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...
Click Here to Expand Forum to Full Width