Article View: borland.public.cppbuilder.nativeapi
Article #11342changing minimize icon on titlebar
From: Benjamin Pratt
Date: Fri, 13 Feb 2004 22:39
Date: Fri, 13 Feb 2004 22:39
9 lines
1388 bytes
1388 bytes
I have a series of dialog boxes in which I would like to place the ok/cancel buttons on the title bar. The normal X box can obviously be used for cancel. Where the maximize button usually is, I would like an OK button (green check inside). So I had the idea I could just display the maximize button and replace the icon with a green check. Then respond to OnMaximize like OnOK. Unfortunatly I can't see a way to change the buttons icon. Any ideas? I'm not looking to get real crazy painting the title bar myself. Just a simple hack.
Technical Details
Message-ID:
<402d51a3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fbe1403b034124fb,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-13 14:40:11 PST From: "Benjamin Pratt" <benjamin.pratt.getridofthis@verizon.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: changing minimize icon on titlebar Date: Fri, 13 Feb 2004 14:39:29 -0800 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.130.93.201 Message-ID: <402d51a3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076711843 24.130.93.201 (13 Feb 2004 14:37:23 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail