Page 1 of 1
MSGBAR
Posted: Tue Jan 09, 2007 9:46 pm
by Silvio
it possible create it ?
I try with define status ... but I can use bitmaps with it ?
Posted: Tue Jan 09, 2007 10:34 pm
by Antonio Linares
Silvio,
statusbar bitmaps support is not implemented yet
Posted: Wed Jan 10, 2007 7:40 am
by Silvio
ok
but I have a tmsgitem and msgbar modified and they not run ok ...
if you see the picture perhaps you can see what I want ....
Posted: Wed Jan 10, 2007 8:19 am
by Antonio Linares
Silvio,
You may provide us a self contained sample to test
Posted: Wed Jan 10, 2007 8:27 am
by Silvio
ok
if you download fsdi2006 class from alanit you can see these classes ( tmsgitem and msgbar classes )
the url is : ...
http://www.avemundi.com/archivos/fsdi32x3.zip
when you resize the window main it show graphic error on xp
or it show a msgbar trasparent
Posted: Wed Jan 10, 2007 9:24 am
by Antonio Linares
Silvio,
Have you asked Jose Luis from Alanit ?
Posted: Wed Jan 10, 2007 9:39 am
by Silvio
Dear Antonio,
No,
but this morning i have correct the error .....
I modify your msgitem and insert WndBoxRaised instead of WndBoxin function..perhaps the command NOINSET not run ok
Now run ok !!!!!!!!!!!!!!!!!!!!!!!
Can I insert a bitmap on : oMsgbar:dateon() ?
Can I fill with blue color tabs control ?
thanks
Posted: Wed Jan 10, 2007 12:16 pm
by Antonio Linares
Silvio,
> Can I insert a bitmap on : oMsgbar:dateon() ?
It should work fine
> Can I fill with blue color tabs control ?
Tabs control is a FW own class, not a system control, so it can be fully modified including the colors
Posted: Thu Jan 11, 2007 9:20 pm
by José Luis Sánchez
Silvio:
I've sent you my classes by mail. The only modification is on the method paint of the tmsegitem class:
Code: Select all
DrawMsgItem( hDC, ::cMsg,;
{ 5, nLeft + nBmpWidth - 4, ::oMsgBar:nHeight-6, nLeft + ( ::nWidth - 7 ) },;
If( ::lActive, ::nClrText, ::nClrDisabled ),;
::nClrPane, ::oFont:hFont )
//WndBoxIn( hDC, 0, nLeft - 9, ::oMsgBar:nHeight, nLeft - 8 )
//WndBoxRaised( hDC, 0, nLeft - 8, ::oMsgBar:nHeight, nLeft + ::nWidth - 5 )
//WndBoxIn( hDC, 0, nLeft - 9, ::oMsgBar:nHeight, nLeft - 8 )
WndBoxIn( hDC, 0, nLeft - 8, ::oMsgBar:nHeight - 1, nLeft - 7 )
Regards,
Posted: Thu Jan 11, 2007 11:36 pm
by Silvio
thanks Josè