Jump to content

Search the Community

Showing results for tags 'Subform style'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I have a form that calls a sub form. The first form window shows correctly (I have Windows 7 so the title bar has the transparent effect), but when the second verification sub form appears, it looks has the Windows 9x style. I am using the Winapiex UDF from If I remove the Winapiex functions: _WinAPI_SetThemeAppProperties($STAP_ALLOW_NONCLIENT) $Theme = _WinAPI_GetThemeAppProperties() then the sub form appears correctly with the Windows 7 Aero Windows style. So am I missing something in the sub-form? Or is it a limitation of the UDF? I am hoping for the prior. #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <winapiex.au3> Global $STAP_ALLOW_NONCLIENT , $Msg $Image = "Image.jpg" $Theme = _WinAPI_GetThemeAppProperties() $GUI_Main = GUICreate("Installation", 500, 375,-1,-1) $Picture = GUICtrlCreatePic(@ScriptDir & "" & $image, 0, 0, 500, 375,$WS_GROUP,$WS_EX_LAYERED) GUICtrlSetState(-1,$GUI_DISABLE) $Label1 = GUICtrlCreateLabel("Installer", 65, 10, 475, 30) GUICtrlSetFont(-1, 16, 800, 0, "Calibri") GUICtrlSetBkColor(Default, $GUI_BKCOLOR_TRANSPARENT) $Label2 = GUICtrlCreateLabel("Please select your desired product:", 10, 45, 275, 20) GUICtrlSetFont(-1, 14, 400, 0, "Calibri") GUICtrlSetBkColor(Default, $GUI_BKCOLOR_TRANSPARENT) _WinAPI_SetThemeAppProperties($STAP_ALLOW_NONCLIENT) $StdEn32 = GUICtrlCreateRadio ("Software Product 1 ",25, 80, 475, 20) GUICtrlSetFont(-1, 14, 400, 0, "Calibri") GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetState(-1, $GUI_CHECKED) $ButtonOK = GUICtrlCreateButton ("OK",130,335,100,25) GUICtrlSetFont(-1, 14, 400, 0, "Calibri") GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) $ButtonCancel = GUICtrlCreateButton ("Cancel",270,335,100,25) GUICtrlSetFont(-1, 14, 400, 0, "Calibri") GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUISetState() While 1 $Msg = GUIGetMsg() Select Case $Msg = $GUI_EVENT_CLOSE ExitLoop Case $Msg = $ButtonCancel ExitLoop Case $Msg = $ButtonOK And $StdEn32 And BitAND(GUICtrlRead($StdEn32), $GUI_CHECKED) = $GUI_CHECKED GUIDelete () _CU_MessageBox() EndSelect WEnd Func _CU_MessageBox() $Form1 = GUICreate("Installation", 353, 171, -1, -1) GUISetBkColor(0xFFFFFF) $Yes = GUICtrlCreateButton("Yes", 200, 128, 75, 25) $No = GUICtrlCreateButton("No", 88, 128, 75, 25) $Label1 = GUICtrlCreateLabel("Text", 136, 16, 214, 30) GUICtrlSetFont(-1, 16, 400, 0, "Calibri") GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd EndFunc
×
×
  • Create New...