I got this from Gary Beene to set the tab sizes of a Tabcontrol to ZERo:
Control Send hDlg, %IDC_Tab, %TCM_SetItemSize, 0, 0
(this obviously in a Ff projects gererates all kinds of errors:)
Which in my Firefly project i interpreted as :
Control Send HWND_FORM1, hWND_fORM1_TabCONTROL1, %TCM_SetItemSize, 0,0
And also tried:
Control Send HWND_FORM1, IDC_fORM1_TabCONTROL1, %TCM_SetItemSize, 0,0
Neither works.
Is this dependent on where the tabs are situated like Right, Left or Top, or should that not make any difference?
There are no text nor icons on the tabs.
I dont want to bug Gary so much, he is always very helpful.
Perhaps i am just overlooking something small.
Use
SendMessage(hWND_fORM1_TabCONTROL1, %TCM_SETITEMSIZE, 0, MAK(LONG, 0, 0))
Thanks Jose.
That makes a little thin line which i can hide under something.
I wish there was a way one can completely hide the TABS and just use code to change the pages.