Re: Win32 Static Controls
- Posted by Brian Jackson <bjackson at 2FARGON.HYPERMART.NET> Jan 16, 2000
- 570 views
Thanks Adam and Dan, I've tried playing around with the code you posted Dan, and it's just what I asked for, but I should have asked more carefully, because I need something a little different. I have one routine that does rollovers, dragging, and resizing for ALL the win32lib controls. Since STATIC class controls don't respond to WM_MOUSEMOVE or WM_LBUTTONDOWN events, my code only works properly on about half of the win32lib objects. I guess what I'm looking for is to get down and dirty in the Windows API and figure out how to either create a STATIC control that responds to the mouse using CreateWindowEx(), or to build a class that looks like a static control, but is really something else (like an editText or whatever.) Hopefully, I've explained myself more precisely this time, and there's someone who has got some ideas for me. Thanks again guys, and from now on, I'll try to say what I mean... Brian