Re: Problems with TAB_GetCurFocus

2007-10-29 Thread Luiz Angelo Daros de Luca
This patch seems to cause the problem... Author: Hagop Hagopian [EMAIL PROTECTED] Date: 17-03-2007 19:16:08 Parent: comctl32: tab: Added message sequence tests for the tab c... Child: winex11.drv: In the case requested glyphs do not present... Branch: master (d3drm: Implement

Problems with TAB_GetCurFocus

2007-10-29 Thread Luiz Angelo Daros de Luca
Hello, I'm having problems with the result of the message TCM_GETCURFOCUS. In Windows, it returns 0 while in wine I got -1 (0x). This results in a Segfault for a 3rd party proprietary application (no source). 0009:Ret KERNEL32.TlsGetValue() retval=001445f8 ret=00501fc1 0009:Call

Re: Problems with TAB_GetCurFocus

2007-10-29 Thread Luiz Angelo Daros de Luca
It seems that this happens when the tab is not painted yet (window created hidden) and the current focused tab read. 2297 static void TAB_Refresh (TAB_INFO *infoPtr, HDC hdc) 2298 { (...) 2328 /* If we haven't set the current focus yet, set it now. 2329 * Only happens when we first paint