Forum
|
|
Winasm bugfix - Winasm Drawcaption bug under Win7, I use Win7 and have a bug on WinAsm studio this Draw not correct the Explorer, Output and Resource controls toolbar caption text
|
ragdog |
|
Extremely Active Member
Group: Moderators
Posts: 891
Member No.: 5019
Joined: 13-May 07
|
Hi I use Win7 and have a bug on WinAsm studio this Draw not correct the Explorer, Output and Resource controls toolbar caption text Here is a screen shot Remove in this procedur DockWndProc > DC_SMALLCAP CODE | .If EAX==WinAsmHandles.hMain || ECX==WinAsmHandles.hMain � � Invoke DrawCaption,hWnd,hDC,ADDR Rect,DC_SMALLCAP OR DC_GRADIENT OR �DC_TEXT or DC_ACTIVE � �.Else � � Invoke DrawCaption,hWnd,hDC,ADDR Rect,DC_SMALLCAP OR DC_GRADIENT OR �DC_TEXT � �.EndIf |
To
CODE | .If EAX==WinAsmHandles.hMain || ECX==WinAsmHandles.hMain � � Invoke DrawCaption,hWnd,hDC,ADDR Rect, DC_GRADIENT OR �DC_TEXT or DC_ACTIVE � �.Else � � Invoke DrawCaption,hWnd,hDC,ADDR Rect,DC_GRADIENT OR �DC_TEXT � �.EndIf |
Fixed Winasm.exe Uploaded
Attached File ( Number of downloads: 30 )
Login or Register to download
|
|
|
|
ragdog |
|
Extremely Active Member
Group: Moderators
Posts: 891
Member No.: 5019
Joined: 13-May 07
|
Hey maluc This was my Goal to fix the win7 Problems I have read it from your post in a other Thread This have i now solved with the Rebar MainWndProc_Create CODE | ;// ----------------------------------------------------------------------Original ;MOV rbi.lx, 388;Band length ;MOV rbi.cxMinChild, 5;Second band can slide over almost all of this band ;MOV rbi.cyMinChild, 22 �;// ----------------------------------------------------------------------Modify � �MOV rbi.lx, 0 � � � � � � MOV rbi.cyMinChild, 22 � � MOV rbi.cxMinChild, 375 �
M2M rbi.hwndChild, hMainTB ;Add a band, the index starts at 0 Invoke SendMessage, WinAsmHandles.hRebar, RB_INSERTBAND, 0, ADDR rbi ;// ----------------------------------------------------------------------Original ;Add another band ;MOV rbi.fStyle, RBBS_CHILDEDGE or RBBS_BREAK ;MOV rbi.lx, 213;5 �;// ----------------------------------------------------------------------Modify � �mov �rbi.cyMinChild, 22 mov �rbi.cxMinChild, 200 M2M rbi.hwndChild, hEditTB ;All other members of REBARBANDINFO structure will remain unchanged Invoke SendMessage, WinAsmHandles.hRebar, RB_INSERTBAND, 1, ADDR rbi
�;// ----------------------------------------------------------------------Original ;Add another band ;MOV rbi.fStyle, RBBS_CHILDEDGE ;MOV rbi.lx, 140 �;// ----------------------------------------------------------------------Modify mov �rbi.cyMinChild, 22 mov �rbi.cxMinChild, 120 M2M rbi.hwndChild, hMakeTB ;All other members of REBARBANDINFO structure will remain unchanged Invoke SendMessage, WinAsmHandles.hRebar, RB_INSERTBAND, 2, ADDR rbi
|
Please make Test on my Win7 pc works fine New Fixed Winasm.exe is in my first post For Upload to the winasm-studio.googlecode.com Can i send this source Greets
|
|
|
|
barvan |
|
New Member
Group: Members
Posts: 4
Member No.: 57020
Joined: 7-March 13
|
Just wanted to let you (and others) know... I had that same issue on Vista HP. I installed your replacement exe (thank you) and it corrected the problem there, as well.
Nice job, ragdog!
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
|
|
|