很迷茫GUICtrlCreateListView怎样设置背景
GUICtrlCreateListView 创建的控件貌似没办法用_GUICtrlListView_SetBkImage设置背景使用GUICtrlGetHandle获得句柄后再_GUICtrlListView_SetBkImage,在windows 7中有效,但在 windows xp中无用。_GUICtrlListView_SetBkImage还是返回false,经调试在到这里错了。If _WinAPI_InProcess($hWnd, $_lv_ghLastWnd) Then
ConsoleWrite("1")
DllStructSetData($tImage, "Image", $pBuffer)
$iRet = _SendMessage($hWnd, $LVM_SETBKIMAGEW, 0, $pImage, 0, "wparam", "ptr")如果使用_GUICtrlListView_Create的话,背景是没问题,但就不能用GUICtrlSetResizing了..
有没有遇到同样情况?怎样解决好?
页:
[1]