RectSoft Home
 
 

 

When I change the VB6.0 button caption text,why the skinning appearance is not automatically updated ?

You should send a WM_PAINT message to the button after changed the caption text in VB6.0 .

Please reference the steps:

1. Declare SendMessage (Win API) in the head of the module:

Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Any) As Long

2. Run this line after changing the button caption text

SendMessage button1.hWnd, 15, 0, ""

 

Why my VB 6.0 IDE appearance looks unwording after loaded skins ?

Please run the application which produced by "Make EXE" command rather than run "Run" command. Because skinocx will skin all the windows in the target process aftert loaded skins successfully .

 


Msn: sucess_wang@hotmail.com      E-mail: rectsoft@gmail.com

Copyright 1996-2007 by RECTSOFT COMPANY. All Rights Reserved.