| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | borland C++ 1.5 |
JP> KC> JP> > How do I create a toolbar in BC 1.5 and what API function will I have JP> > to use to load it. JP> KC> JP> JP> There's a toolbar example on the DevCon 4 CD-ROM. I don't have access to it :-< JP> Basically, you JP> create a menu control where all of the menu items are bitmaps, and you JP> treat it just like a menu. JP> I downloaded a program that created the toolbar menu, but it was created above the action menu, I understood most of what the person was doing and so was able to modify it so the menu appeared underneath the action bar. The only prob I haven't ironed out is how to spaceout the elements a MENUITEM SEPARATOR does not seem to work. JP> > I'am using WinEnableMenuItem to enable and disable menu options but BC JP> > is generating warnings saying the code has no effect JP> KC> JP> JP> It's the casting of the return value of WinSendMsg() that does it, I JP> believe. Ignore it; it's a harmless Borlandism. I turned off the warning using the #pragma. Thanks for all your help. ___ X KWQ/2 1.2g X Knock softly and firmly... I like soft, firm knockers. --- Maximus/2 2.01wb* Origin: The Boiler Room OS/2 (1:278/2000) 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: 278/2000 10 261/1023 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 @PATH: 711/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™.