Windows Custom Control

bri189a

Senior Contributor
Joined
Sep 11, 2003
Messages
1,004
Location
VA
It's been so long since I've done a windows project...

Got a custom control I'm making, it's size can only be in increments of 128...I have the math worked out...the problem is I can't remember the property or the technique to use to make sure the Resizing is completed before applying the math. The OnResize and OnSizeChanged overrides/events seem to happen constantly throughout the user resizing, the OnLayout override/event seems to fall in that category to. I know a spagetti way to do it would be to watch the mouse and keyboard events, but I think there is probably something more natural that is built in like OnResizeComplete or something like that. Also...again, been so long, where is the UITypeEditor for my designer for file browsing to tie to a property I have that is suppose to specify a path?

Thanks!
 
Back
Top