Thread View: comp.os.os2.programmer
3 messages
3 total messages
Started by Terry Freas
Sun, 21 Oct 1990 18:00
Setting FS_ICON bit during run-time
Author: Terry Freas
Date: Sun, 21 Oct 1990 18:00
Date: Sun, 21 Oct 1990 18:00
10 lines
1013 bytes
1013 bytes
I need to dynamically modify whether the icon behavior is that of using the icon bitmap or acting like a 'mini-window'. When creating the window WinCreateStdWindow allows you to pass style bits. I can't seem to find any way to do this once the window is created, either through a Win function or a window message (it wants other info, but not this). Any ideas? Thanks. -- oo - I live for the day earth becomes a domain name - oo \/ Jeremy Wohl / wohl@max.physics.sunysb.edu / cfreas@csserv1.ic.sunysb.edu \/
Re: Setting FS_ICON bit during run-time
Author: Lawrence W Salomon
Date: Sun, 21 Oct 1990 20:02
Date: Sun, 21 Oct 1990 20:02
13 lines
1054 bytes
1054 bytes
The function I think you're looking for is either WinSetWindowUShort or WinSetWindowULong (I think it is the former) QWL_STYLE (or QWS_STYLE if the latter function is the correct one) as the value to change. Cheers, Q - the "Q"uestor for knowledge (, a degree, etc.) lsalomo@hubcap.clemson.edu ibmman@prism.clemson.edu ibmman@clemson.clemson.edu ============================================================================= "Gee Wally, I think there's something wrong with the Beaver." =============================================================================
Re: Setting FS_ICON bit during run-time
Author: Bob Niedergerke
Date: Sun, 21 Oct 1990 20:14
Date: Sun, 21 Oct 1990 20:14
10 lines
974 bytes
974 bytes
In article <1990Oct21.180003.7515@sbcs.sunysb.edu> cfreas@csserv2.ic.sunysb.edu (Terry Freas) writes: >I need to dynamically modify whether the icon behavior is that of using >the icon bitmap or acting like a 'mini-window'. When creating the window >WinCreateStdWindow allows you to pass style bits..... My impression was that icons _were_ 'mini-windows'. Anyway, style bits may be in the window words for the icon. I don't have any of the ref.s handy, so you'll have to look this up. bobn
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads