- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
iStyle = GetWindowLong(GetHwndQQ(0), GWL_STYLE) iStyle = iand(iStyle, not(WS_HSCROLL + WS_VSCROLL) i = SetWindowLong(GetHwndQQ(0), GWL_STYLE, iStyle)Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jugoslav,
I have a QuickWin application that opens several windows in which it displays bitmaps. I am trying to eliminate the scrollbarsinthese child window, since the bitmaps are known size and fully visible, and am having a tough time using the code sample you supplied.
Depending on where I insert this "style change" into the sequence of initialize, resize, paint, etc., I get unpredictable results. Sometimes the vertical scrollbar is hidden, sometimes it is there but disappears when the window is first given focus, sometimes it is always there. No matter what I do, I can't seem to rid myself of the horizontal scrollbar.
This may be a total red herring, but just in case it has some relevance... Having use statements for the DFLib and User32 modules in the same subroutine seems to gives an error concerning LoadImage, complaining that "There is no matching specific function for this generic function...". I haven't seen this before.
The environment is CVF 6.6C on Win2K SP2.
Any insight or suggestions?
Thanks, Cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page