WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
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
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 892
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

(IMG:http://img6.imagebanana.com/img/0dfd1poy/Unbenannt.png)

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: 34 )
 Login or Register to download

Sponsored Links
PMUsers Website
Top
maluc
Quote Post


Member
**

Group: Members
Posts: 24
Member No.: 1858
Joined: 23-December 05


Thanks...and now the ReBar. ;)
PMEmail Poster
Top
ragdog
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 892
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 :tup

Greets
PMUsers Website
Top
laledesi
Quote Post


Very Active Member
****

Group: Members
Posts: 78
Member No.: 787
Joined: 16-November 04


Cool fixes! Work great in 7 now!

Thanks!! )(
PMEmail Poster
Top
barvan
Quote Post


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!
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google