Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/27/2011 in all areas

  1. Change that to 'OutputDebugStringA' (or 'OutputDebugStringW' with a 'wstr' parameter). Otherwise it causes a system error (check with _WinAPI_GetLastErrorMessage()). But yah, that's got nothing to do with this thread, and I have no idea why it would cause communication to fail. Try posting on the 'Shared memory variables demo' thread instead, if that still causes an issue. Or heck, maybe send the debug info to ConsoleWrite..
    1 point
  2. What the heck - for people using NomadMemory still, I've attached a special version of NomadMemory to the 1st post. Its untested but should work the way the old one did. (see the UDF for documentation on the missing functions and their replacements)
    1 point
  3. MariusN, No need to look hard - try the link about 4cm below this post! M23
    1 point
  4. Gerry, Use the $CBS_DROPDOWNLIST style ("Displays a static text field that displays the current selection in the list box"): #include <GUIConstantsEx.au3> #include <ComboConstants.au3> $hGUI = GUICreate("Test", 500, 500) $hCombo = GUICtrlCreateCombo("", 10, 10, 200, 20, $CBS_DROPDOWNLIST) GUICtrlSetData(-1, "1|2|3|4|5", "3") GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEndNot the most intuitive description, but it is what MSDN gives us! M23
    1 point
  5. Laymanball

    xMsgBox

    Error! in code CustomMsgBox.au3 Change.. OnAutoItExitFunction() to OnAutoItExitRegister() For run script sample #include "CustomMsgBox.au3" While 1 $Return = xMsgBox(16+0x200,"Title","Text","Yes","No","Cancel",Default,34,"C:\Program Files\AutoIt3\Icons\au3.ico") MsgBox(0, 'ReturnValue:', 'ID Button = '&$Return) If $Return = 2 Then ExitLoop WEndOR #include "CustomMsgBox.au3" Do $Return = xMsgBox(16+0x200,"Title","Text","Yes","No","Cancel",Default,34,"C:\Program Files\AutoIt3\Icons\au3.ico") MsgBox(0, 'ReturnValue:', 'ID Button = '&$Return) Until $Return = 2
    1 point
  6. ProgAndy

    xMsgBox

    You will have to modify the code to use AbortRetryIgnore as the buttons which will be changed instead of YesNoCancel for three buttons. This will require some work, and I'm not in the mood do to it Why don't you try the I'll upload a new release, soon.
    1 point
  7. MariusN, You could always try the ExtMsgBox UDF in my sig - you do get different returns for the [X] and the buttons from that! M23
    1 point
  8. BigDod

    removing toolTIP

    When you want to remove the tooltip use ToolTip("")
    1 point
×
×
  • Create New...