I thought I'd start a new topic for once. I'm using what I believe is the latest pre-release version of PPL. The control with ID 104 is a Tab Control, and my code indicating that the tab control is in the process of changing or has already changed is no longer working. The structure required for this is:
The code in question is:
When tabs are switched, msg.code$ should either be TCN_SELCHANGING or TCN_SELCHANGE (before and after - I believe -551 and -552). Instead, I am getting values of 16, 32, 48, or the negative equivalents. Any thoughts would be appreciated.
- Code:
#define NMHDR {"hwndFrom", "idFrom", "code"} //windows.ppl
The code in question is:
- Code:
case(Msg$)
WM_NOTIFY:
case(wParam$)
104:
struct(msg$, NMHDR);
msg$ = ^lParam$;
ShowMessage(msg.code$);
SwitchTabs(msg.code$);
end;
end;
When tabs are switched, msg.code$ should either be TCN_SELCHANGING or TCN_SELCHANGE (before and after - I believe -551 and -552). Instead, I am getting values of 16, 32, 48, or the negative equivalents. Any thoughts would be appreciated.