Stick-pin in modeless property-sheet
Roger Onslow -- Roger_Onslow@compsys.com.au Wednesday, June 26, 1996 Environment: VC4.1, Win95 In the spirit of "doing like Developer Studio", I'd like to find out how to implement a "stick-pin" as is used in the "Properties" dialog in MSVC. If I remember correctly, once upon a time it was actually *incide* the title bar (which was nice), but at the top of the sheet (above the tabs) will do nicely. While we're at it, how about the "?" button next to it (*not* in the title bar)? I could *probably* work out how to do it, but hopefully someone else already has, and anyway, it would be nice to have the solution posted up on mfc-l. /|\ Roger Onslow ____|_|.\ ============ _/.........\Senior Software Engineer /CCC.SSS..A..\ /CC..SS...A.A..\ Computer /.CC...SS..AAA...\ Systems /\.CC....SSAA.AA../ Australia \ \.CCCSSS.AA.AA_/ \ \...........// Ph: +61 49 577155 \ \...._____// Fax: +61 49 675554 \ \__|_/\_// RogerO@compsys.com.au \/_/ \//
Grant Shirreffs Great Elk -- Grant.S@greatelk.co.nz Monday, July 01, 1996 I've done it using a toolbar, with a non-existent menu. You can change the up/down images for a toolbar, and as a bnous you get tool-tips etc. Grant Shirreffs grant.s@greatelk.co.nz ---------- From: owner-mfc-l[SMTP:owner-mfc-l@netcom.com] Sent: Wednesday, 26 June 1996 15:17 To: mfc-l Subject: Stick-pin in modeless property-sheet Environment: VC4.1, Win95 In the spirit of "doing like Developer Studio", I'd like to find out how to implement a "stick-pin" as is used in the "Properties" dialog in MSVC. If I remember correctly, once upon a time it was actually *incide* the title bar (which was nice), but at the top of the sheet (above the tabs) will do nicely. While we're at it, how about the "?" button next to it (*not* in the title bar)? I could *probably* work out how to do it, but hopefully someone else already has, and anyway, it would be nice to have the solution posted up on mfc-l.
Hugh Robinson -- hugh@ssihou.ssii.com Tuesday, July 02, 1996 [Mini-digest: 2 responses] There is an article in Windows Developer's Journal, January 1996 which presents classes to reproduce pinnable functionality like VC++. I haven't used the code myself, but it doesn't describe how to draw the pin bitmap outside the tabs, which is probably your main concern. The source code accompanying the article is available at http://www.wdj.com/source.htm Hugh Robinson hugh@ssihou.ssii.com -----From: Andrew DalgleishWindows Developer Journal Jan 1996, page 8 "Pinnable Dialogs using MFC" V.Ramachandran Regards, Andrew Dalgleish
| Вернуться в корень Архива |