TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan de Boyne Pollar
from: Kelly Schrock
date: 1994-09-20 22:35:08
subject: borland C++ 1.5

Jonathan,

JP>   There's a toolbar example on the DevCon 4 CD-ROM.  Basically, you
JP>   create a menu control where all of the menu items are bitmaps, and you
JP>   treat it just like a menu.

I've been wondering about this... Is there a way that you know of to
display 2 menus on a single window at the same time? The technique of
using bitmaps on a menu to make it look like a toolbar seems like an
easy way to make a toolbar on a window, but most toolbar-equipped
windows also have normal menus, as you know, so it seems like it would
be a problem to have both when doing it this way. I know it can be done
by subclassing the frame window and intercepting WM_QUERYFRAMECTLCOUNT
(or whatever) and WM_FORMATFRAME to tell PM that there's an extra menu
on the window, but this is a PITA in some situations. 

Thanks,
Kelly

___
 X KWQ/2 1.2g NR X I'm an OS/2 developer...I don't NEED a life!

--- Maximus/2 2.01wb

* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 109/347 2 7 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.