Search found 76 matches: ownerdraw

Return to advanced search

Re: Win XP Manifest64- Combobox CheckBox Group-box - no funciona

... COLOR Option. but i don´nt think that you can change Border Color, only Background and Foreground in COLOR Option Combobox have 2 Parts and need Ownerdraw https://forums.fivetechsupport.com/viewtopic.php?t=44457
by Jimmy
Mon Jun 24, 2024 2:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Win XP Manifest64- Combobox CheckBox Group-box - no funciona
Replies: 4
Views: 385

Re: combobox color

... , i not want list of colors, i Wish only colorize the First item text and the last item text I do understand your Problem, but do you understand Ownerdraw ? it is much more complicate than using a bitmap to mark a Item in Combobox or LIstbox using different Font and Color
by Jimmy
Sun Apr 28, 2024 5:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: combobox color
Replies: 22
Views: 2638

Re: combobox color

hi Silvio, as i can say a normal Combobox can only change Color for all Items to change it for special Item you need Ownerdraw. i know that Fivewin have ON DRAWITEM but i have not find out how it work so i wrote my own Method here a CODE snip which i use oCombo_left:bOwnerDraw := ...
by Jimmy
Fri Apr 26, 2024 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: combobox color
Replies: 22
Views: 2638

Re: espacio entre lineas en COMBOBox

as i can say you need enable Ownerdraw https://i.postimg.cc/NF66p0GD/Combobox-Demo-Ownerdraw.jpg      oCombo_left := TComboBox() :new( 0, 0,, acItem, 90, 300, oMain,,,, BFcolor, BGcolor, .T., oFontDefault,,,, ...
by Jimmy
Mon Dec 11, 2023 5:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: espacio entre lineas en COMBOBox
Replies: 5
Views: 721

Re: Crash with 23.04 GRADIENTFILL()

hi,

thx for Answer,
nageswaragunupudi wrote:We can have any number or slices.

ok, i have try it again

can it have to do with "Ownerdraw" which i use for Combobox :?:
by Jimmy
Mon Jul 24, 2023 2:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crash with 23.04 GRADIENTFILL()
Replies: 5
Views: 449

Re: CLASS TGrid() for FiveWin

... LIB(s) for Option "-mt" include *.RC does NOT contain any Resource, it is just a "Dummy" --- Special I have use Combobox with Ownerdraw using Codebock Slot bOwnerDraw It have 4 Parameter between || (pipe Sign) which are Self          itselfnIdCtl        Control IDoStruc     ...
by Jimmy
Sun Mar 12, 2023 6:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 5493

Re: Bad look btnbmp disable()

...  hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ) );} but it is NOT used in CLASS CODE except (Ownerdraw) MENU so how to get a Bitmap in gray on a "disable" BTNBMP :?: p.s. how to change Bitmap / Color after create :?:
by Jimmy
Thu Mar 09, 2023 4:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad look btnbmp disable()
Replies: 9
Views: 985

Combobox Ownerdraw with Icon from DLL Sample

hi, here a Demo how to use Ownerdraw with Comboxbox it also show how to access System Icon "on-fly" so it will look same as Windows OS https://i.postimg.cc/NF66p0GD/Combobox-Demo-Ownerdraw.jpg #include "Fivewin.ch"#include ...
by Jimmy
Mon Feb 20, 2023 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Combobox Ownerdraw with Icon from DLL Sample
Replies: 0
Views: 262

Re: CLASS TGrid() for FiveWin

hi, since 1st Release i have make a lot to get "Dark-Mode" Style i have change Menu, Button and use Ownerdraw (*1) for Combobox. https://i.postimg.cc/RC1Zjrr6/Dual-Grid-Black.jpg but TGrid-Column Header was still WHITE so i need Customdraw (*2) https://i.postimg.cc/8P8nf3sH/Dual-Grid-Black-Header.jpg ...
by Jimmy
Mon Feb 20, 2023 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 5493

Re: does Fivewin have a Gradient ComboBox ?

... nIcoHandle )      FreeLibrary( hModule ) now i must not provide Icon in *.RC https://i.postimg.cc/4y12RsyX/FW-Combobox-Ownerdraw-OS-Icon.png p.s. This Image show NO Highlight Bar as Mouse is not "over" Listbox-Part of Combobox ... something is missing ... hm
by Jimmy
Wed Feb 15, 2023 2:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 609

Re: does Fivewin have a Gradient ComboBox ?

hi, got 1st Result https://i.postimg.cc/Dy7439zm/FW-Combobox-Ownerdraw-highlight.png but Cursor Highlight does only work when Mouse is over Listbox-Part of Combobox   CASE itemAction = ODA_SELECT   CASE itemAction = ODA_DRAWENTIRE   CASE itemAction ...
by Jimmy
Wed Feb 15, 2023 11:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 609

Re: does Fivewin have a Gradient ComboBox ?

hi, have try ComboBox Ownerdraw and "fill" bOwnerDraw with Codeblock      oCombo_left:bOwnerDraw := {|a,b,c,d| DoMyComBo(a,b,c,d) } FUNCTION DoMyComBo()   nCount := PCOUNT()   FOR ii := 1 TO ...
by Jimmy
Wed Feb 15, 2023 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 609

Re: does Fivewin have a Gradient ComboBox ?

... ... is there a Readme for "Dummy" ? --- bOwnerDraw -> Combobox bDrawItem -> Listbox / Combobox (CodeBlock to evaluate to select a ownerdraw bitmap to paint) METHOD DrawItem( nIdCtl, nPStruct ) CLASS TComboBox   ...      uVal  := LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ...
by Jimmy
Tue Feb 14, 2023 4:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 609

does Fivewin have a Gradient ComboBox ?

hi,

while i can use Menu with Gradient i like to ask if Fivewin have Combobox with Gradient :?:

i can change Foreground and Background Color into Dark-Mode but Highlight Bar ( COLOR_HIGHLIGHT ) have normal Color

btw. does Fivewin have a "Ownerdraw" Sample :?:
by Jimmy
Sun Feb 12, 2023 2:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 609

Re: Dark-Mode and CHECKBOX

Jimmy wrote:hi,

you are right that i can change Background Color but not Foreground Color for Caption which is always BLACK
so i need "Ownerdraw" when using BLACK Background to "see" Caption

Yes, both of you are right
by nageswaragunupudi
Mon Nov 28, 2022 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark-Mode and CHECKBOX
Replies: 16
Views: 1535
Next

Return to advanced search