CEdit类的setsel函数//第一个参数怎么还是-1?DWORD不是unsigned long...
void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE );
dwSelection
Specifies the starting position in the low-order word and the ending position in the high-order word. If the low-order word is zero and the high-order word is 1, all the text in the edit control is selected. If the low-order word is 1, any current selection is removed.
[解决办法]
use:
void SetSel(int nStartChar, int nEndChar, BOOL bNoScroll = False);
[解决办法]
高低两个字可分别赋值,无符号也好,有符号也好,总归是4个字节32位吧?每一位不是0便是1。short h = -1;short l=0;dword a = (h<<16)
[解决办法]
l;