Page 1 of 1

Ownerdraw / Customdraw with HMG

Posted: Wed Oct 30, 2019 12:04 pm
by AUGE_OHR
hi,

i have seen Owner Draw Button from Krzysztof and Pablo , Great :!:
viewtopic.php?f=5&t=2397&hilit=owner+draw&start=20

are there more Ownerdraw Sample :?:
... looking for Ownerdraw Menu
Menu_Ownerdraw.jpg
Menu_Ownerdraw.jpg (96.3 KiB) Viewed 1463 times

Re: Ownerdraw / Customdraw with HMG

Posted: Wed Oct 30, 2019 2:13 pm
by gfilatov
AUGE_OHR wrote: Wed Oct 30, 2019 12:04 pm ... looking for Ownerdraw Menu
Hi,

It is possible in the Minigui Extended Edition (look at an image below). :arrow:

Re: Ownerdraw / Customdraw with HMG

Posted: Thu Oct 31, 2019 1:36 am
by AUGE_OHR
hi,

Ok i will look at "Minigui Extended Edition"

---

i have found in c:\hmg.3.4.4\SOURCE\c_windows.c

Code: Select all

/*
HB_FUNC ( GETDRAWITEMHANDLE )
{
   HMG_retnl ((LONG_PTR) ((((DRAWITEMSTRUCT FAR *) HMG_parnl(1)))->hwndItem));
}
*/
so there is no "DrawItem" Structure (and no MeasureItem Structure) for Ownerdraw Support in HMG yet