Search found 75 matches: ownerdraw

Return to advanced search

Silvio,

You can also use a ownerdraw ListBox.

Please review FWH\samples\ownerdra.prg
by Antonio Linares
Thu Sep 25, 2008 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help For create a Class
Replies: 11
Views: 2042

... los fonts de un menú para la propia aplicación y en caso de que un estilo como 2007 se use en el menu, lo que hace que todos los menuitems sean "ownerdraw", es decir, dibujados por la propia aplicación y no por Windows. Lo más sencillo es cambiar la configuración estandard en Windows para que ...
by Antonio Linares
Wed Aug 13, 2008 7:35 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: MANEJO DE FONTS EN LA CLASE MENU
Replies: 1
Views: 897

Marco,

As FWH uses an ownerdraw menu for 2007 style, it can be done. Windows standard menu does not allow it.

But the source code has to be changed: A new DATA would be required for bold, and the C source code has to be also changed. Its not a simple change.
by Antonio Linares
Fri Jun 13, 2008 12:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different font style in menu
Replies: 2
Views: 674

Enrico, If the mdichild is not maximized then it works fine. It looks as a Windows bug when using all menuitems as ownerdraw, as FWH does not change the way the menu commands are processed :-( The erase of the icon is our fault as we paint the entire horizontal bar. We need to check ...
by Antonio Linares
Wed Nov 28, 2007 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in 2007 menu and MDI
Replies: 1
Views: 457

bitmaps en listbox

... en un listbox, pero solo me salen los stringso letras mas los bitmaps no, ya probe con los ejemplos del fwh7.40 y sale bien, si ese codigo del ownerdraw.prg lo copio a mi carpeta de trabajo, compilo y me sale igual solo los strings. Que puede estar pasando, uso FWH7.4, workshop4.5. Salu2 Francis
by Francis
Sat Nov 10, 2007 10:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: bitmaps en listbox
Replies: 2
Views: 635

... en el repintado de ventanas no activas. Algo cambiará en los mensajes o en la prioridad del proceso repintado que no permite que los controles ownerdraw se terminen de repintar o algo así. Un saludo, Carlos.
by Carlos Mora
Mon Aug 27, 2007 11:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas de pintado
Replies: 27
Views: 7285

Los btnbmp son "ownerdraw", es decir, no son nativos del sistema operativo, son pintados "a mano".

Para poner un boton con bitmap con estilo XP necesitas la clase BUTTONBMP
by R.F.
Sat Mar 17, 2007 7:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BOTONES CON ESTILO XP
Replies: 2
Views: 949

... Puedes variarles el tamaño desde "botón derecho en escritorio-propiedades-apariencia-opciones avanzadas" La única forma sería usar unos menus tipo ownerdraw, como los menus que se han publicado hace unos dias aqui con el look de office, y que al dibujarse usasen un font distinto del suyo
by Antonio Linares
Fri Jan 26, 2007 12:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SOBRE MENUS
Replies: 2
Views: 546

xharbour from xharbour.com and fwh aug release Problems

When I try to make fwh samples I get the following error file. What do I have to do ? Thanks Mike. Type: C >>>xhb.exe -o"bigfold.c" -m -n -w -p -q -gc0 -I"C:\FWH\INCLUDE" -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "bigfold.prg"<<< xHarbour Compiler build 0.99.61 (...
by Mike Buckler
Mon Sep 11, 2006 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xharbour from xharbour.com and fwh aug release Problems
Replies: 7
Views: 2034

James,

You may review Class TSButton as Gale comments you.

Also, you may review FWH Class TButtonBmp to see how we change the standard painting of a button, though we don't use the ownerdraw style.
by Antonio Linares
Wed Jun 21, 2006 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Non-standard Button
Replies: 5
Views: 1137

James,

Both ways will be ok. You can use a bitmap that shows a button -the way you want it-. Ownerdraw means that the control will not be painted by itself. You will be notified to paint it yourself.
by Antonio Linares
Wed Jun 21, 2006 6:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Non-standard Button
Replies: 5
Views: 1137

Non-standard Button

I am trying to make a button that doesn't look like a button. I am wondering if I should just use a bitmap and then detect a click on it, or can the OWNERDRAW style be used to create a non-standard button? I don't really understand OWNERDRAW.

Any ideas?

James
by James Bott
Wed Jun 21, 2006 5:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Non-standard Button
Replies: 5
Views: 1137

Evans:

In tsButton you must use de tsbutton.ch before Fivewin.ch and
in the resource declaration the button must be OwnerDraw.
The tsbutton.lib must be before the FWH´s libs.

Please taste and tell me if everything go ok.
Sorry for my Indian English.

Best regards

Ruben Fernandez.
by RuFer
Mon Feb 27, 2006 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ALT key (pressed alone) on dialogs
Replies: 16
Views: 4934

Dale, The Windows API does not natively support to display a bitmap on a menuitem, so we use "ownerdraw" menuitems to paint the bitmap and the text on it. Thats where the difference comes from. We may need to check if there is a message that provides a chance to paint ...
by Antonio Linares
Sun Feb 12, 2006 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menu Command, Shortcut Keys, and Resources
Replies: 2
Views: 713

Maurilio, > 1) Is possible change the font of group name to bold? I don't think so. That may required to implement ownerdraw support. > 2) Is possible change the bitmap when the tree is open/closed? (I couldn't do it in testtrer.prg) > Yes, it is, but it is not implemented ...
by Antonio Linares
Sat Nov 26, 2005 5:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTreeView (bitmap, colors and font)
Replies: 1
Views: 888
Previous

Return to advanced search