remove icon cCaption (Antonio Help)

remove icon cCaption (Antonio Help)

Postby lailton.webmaster » Wed Mar 25, 2009 2:32 am

HI, How remover icon that stay before Title of window ?
Image
Last edited by lailton.webmaster on Thu Mar 26, 2009 12:49 pm, edited 1 time in total.
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: remove icon cCaption

Postby lailton.webmaster » Thu Mar 26, 2009 1:02 am

Someone can help ?
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: remove icon cCaption

Postby ukoenig » Thu Mar 26, 2009 12:20 pm

Hello,

I found a solution for Your problem ( The space of the Icon is empty ) :

Image

Code: Select all  Expand view

DEFINE ICON oIcon RESOURCE "BLANC"

ACTIVATE WINDOW oWnd MAXIMIZED ;
ON INIT ( oWnd:SetIcon( oIcon ) ) ;
ON PAINT ( gradpaint0( hDC, oWnd ), ;
ABPaint( hDC, 20, 20, oBmp1:hBitmap, 220 ) )

// ICON-resource

BLANC ICON
{
 '00 00 01 00 01 00 10 10 10 00 00 00 00 00 28 01'
 '00 00 16 00 00 00 28 00 00 00 10 00 00 00 20 00'
 '00 00 01 00 04 00 00 00 00 00 80 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
 '00 00 80 00 80 00 80 80 00 00 80 80 80 00 C0 C0'
 'C0 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
 '00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'
 '00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF'
 '00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF'
 '00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF'
 '00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00'
}

 


Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: remove icon cCaption

Postby lailton.webmaster » Thu Mar 26, 2009 12:43 pm

the reason that i want remove icon is to dont have space ukoenig,

don´t have commad to remove it ?

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: remove icon cCaption (Antonio Help)

Postby James Bott » Thu Mar 26, 2009 1:36 pm

Have you ever seen a window without an icon (or a space)? I don't remember ever seeing one.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: remove icon cCaption (Antonio Help)

Postby lailton.webmaster » Thu Mar 26, 2009 1:50 pm

Yes,

WHen you use STYLE (WS_THICKFRAME) in windows, don´stay with icon,
but too don´t stay with button minimize, maximize, close etc..

i want only remove icon and no stay space... thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: remove icon cCaption (Antonio Help)

Postby James Bott » Thu Mar 26, 2009 9:26 pm

User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 43 guests