Added sharedWndProc() to Tab on Windows.
This commit is contained in:
parent
de9c598ca3
commit
7c67741bb5
|
@ -9,10 +9,12 @@ LPWSTR xWC_TABCONTROL = WC_TABCONTROL;
|
||||||
static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR id, DWORD_PTR data)
|
static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR id, DWORD_PTR data)
|
||||||
{
|
{
|
||||||
NMHDR *nmhdr = (NMHDR *) lParam;
|
NMHDR *nmhdr = (NMHDR *) lParam;
|
||||||
LRESULT r;
|
LRESULT lResult, r;
|
||||||
RECT resizeRect;
|
RECT resizeRect;
|
||||||
WINDOWPOS *wp;
|
WINDOWPOS *wp;
|
||||||
|
|
||||||
|
if (sharedWndProc(hwnd, uMsg, wParam, lParam, &lResult))
|
||||||
|
return lResult;
|
||||||
switch (uMsg) {
|
switch (uMsg) {
|
||||||
case msgNOTIFY:
|
case msgNOTIFY:
|
||||||
switch (nmhdr->code) {
|
switch (nmhdr->code) {
|
||||||
|
|
Loading…
Reference in New Issue