Ownerdraw / Customdraw with HMG

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Ownerdraw / Customdraw with HMG

Post 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 1461 times
have fun
Jimmy
User avatar
gfilatov
Posts: 1116
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Ownerdraw / Customdraw with HMG

Post 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:
Attachments
Dark theme sample
Dark theme sample
Menu_Ownerdraw.png (9.31 KiB) Viewed 1434 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Ownerdraw / Customdraw with HMG

Post 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
have fun
Jimmy
Post Reply