RadASM 2.1.0.2 is uploaded to my website.
Whats new:
- Added LANGUAGE settings to resources.
- Improved support for fonts/charsets in dialog editor.
- Improved project wizard template handling.
- Updated hla templates, examples and RADbg.inc
KetilO
Whats new:
- Added LANGUAGE settings to resources.
- Improved support for fonts/charsets in dialog editor.
- Improved project wizard template handling.
- Updated hla templates, examples and RADbg.inc
KetilO
Hi KetilO,
I just installed the new version. The colref addin had two more options. Now they have disappeared. The ComTool addin icon is changed. I also had an addin to run a debugger. It is loaded acording to addin manager but is not visible on toolbar.
Best regards
I just installed the new version. The colref addin had two more options. Now they have disappeared. The ComTool addin icon is changed. I also had an addin to run a debugger. It is loaded acording to addin manager but is not visible on toolbar.
Best regards
Hi minor28
The way to add a toolbar button has changed.
It seem like I dont have the latest version of colref then.
KetilO
The way to add a toolbar button has changed.
mov ebx,[lpHStruct]
mov ebx,(ADDINHANDLES ptr [ebx]).hToolBar
invoke SendMessage,ebx,TB_GETIMAGELIST,0,0
push eax
invoke LoadBitmap,hInstance,IDR_BITMAP
pop edx
push eax
invoke ImageList_AddMasked,edx,eax,808080h
mov mytbbutton.iBitmap,eax
pop eax
invoke DeleteObject,eax
invoke SendMessage,ebx,TB_BUTTONSTRUCTSIZE,sizeof TBBUTTON,0
invoke SendMessage,ebx,TB_INSERTBUTTON,-1,offset mytbbutton
It seem like I dont have the latest version of colref then.
KetilO
Thanks,
Fexed now. Here is the latest version of Colref.
Fexed now. Here is the latest version of Colref.
Thanks minor
KetilO
KetilO
I can't get the myttbbutton bmp to show in my ComTool addin. I changed the code to
LoadBitmap returns nonzero value. ImageList_AddMasked do not return -1. The tbbutton works but no tbimage.
IDB_ACTIVEX constant equ 11003 in .const section, also defined as 11003 in resource file. The path to the bmp is correct. The bmp is 246 bytes, 16 colors and dim 16x16. I just can't understand what's wrong. Any suggestions?
mov ebx,[lpHStruct]
mov ebx,(ADDINHANDLES ptr [ebx]).hToolBar
invoke SendMessage,ebx,TB_GETIMAGELIST,0,0
push eax
invoke LoadBitmap,hInstance,IDB_ACTIVEX
pop edx
push eax
invoke ImageList_AddMasked,edx,eax,808080h
mov mytbbutton.iBitmap,eax
pop eax
invoke DeleteObject,eax
invoke SendMessage,ebx,TB_BUTTONSTRUCTSIZE,sizeof TBBUTTON,0
invoke SendMessage,ebx,TB_INSERTBUTTON,-1,offset mytbbutton
LoadBitmap returns nonzero value. ImageList_AddMasked do not return -1. The tbbutton works but no tbimage.
IDB_ACTIVEX constant equ 11003 in .const section, also defined as 11003 in resource file. The path to the bmp is correct. The bmp is 246 bytes, 16 colors and dim 16x16. I just can't understand what's wrong. Any suggestions?
It all seem OK and should work.
Maybe it is the toolbar customizing that fails.
Try to dblclick on toolbar and reset.
KetilO
Maybe it is the toolbar customizing that fails.
Try to dblclick on toolbar and reset.
KetilO
Well, I found the error. I was testing the addin on an older version of RadAsm. I forgot to update. I works now. I guess I am to tired now.
Thanks KetilO
Thanks KetilO