Custom Query
Results (301 - 303 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1053 | No Bug | The computer hangs for a while when used DllCallbackRegister() | Yashied | |
| Description |
The computer hangs for a while (from several seconds or more), if any key is holding down when clicking on the Close, Minimize, Maximize, or Help buttons. #Include <WinAPI.au3>
Global $hProc = DllCallbackRegister('_MyHook', 'long', 'int;wparam;lparam')
Global $hHook = _WinAPI_SetWindowsHookEx($WH_KEYBOARD_LL, DllCallbackGetPtr($hProc), _WinAPI_GetModuleHandle(0), 0)
GUICreate('Bug')
GUICtrlCreateLabel('Hold down any key and then click mouse on the close button.', 50, 20)
GUISetState()
Do
Until GUIGetMsg() = -3
Func _MyHook($iCode, $wParam, $lParam)
Return _WinAPI_CallNextHookEx($hHook, $iCode, $wParam, $lParam)
EndFunc ;==>_MyHook
Func OnAutoItExit()
ConsoleWrite('Call _WinAPI_UnhookWindowsHookEx()' & @CR)
_WinAPI_UnhookWindowsHookEx($hHook)
EndFunc ;==>OnAutoItExit
|
|||
| #1061 | No Bug | PowerPoint 2007 presentation adding doesn't work on Vista | Nad | |
| Description |
I need to open PowerPoint 2007 and add new presentation and slide. There is a code on AutoIt vers. 3.3.0.0 [code] #include <GUIConstants.au3> #include <WindowsConstants.au3> Main() Func Main() Local $oPptApp = ObjCreate("PowerPoint.Application") $oPptApp.Visible = True ; create presentation Local $oPres = $oPptApp.Presentations.Add() Local $oCurSlide = $oPres.Slides.Add(1,1) sleep(2000) $oPptApp.Quit EndFunc code It works fine on w2k3 sysytem. But it doesn't work Vista, error in output is:
E:\WORK\VDI\PVC_VDI_NEW_LOAD\test.au3 (13) : ==> The requested action with this object has failed.: Local $oPres = $oPptApp.Presentations.Add() Local $oPres = $oPptApp.Presentations.Add() ERROR
I try to call Presentation.Add method with different parameters, but nothing helps. Can you help me, Thank you |
|||
| #1062 | No Bug | language support | xyz33 | |
| Description |
GUICtrlCreateTreeViewItem doesn't support korean language |
|||
