Jump to content

Recommended Posts

I am using _GuictrlTab_SetCurSel and when I set it a specific tab it doesn't refresh the tab so the controls on that tab are showing. Just curious what I need to send to have it refresh/redraw the original controls. I've never really used Guictrlsendmsg so I don't know if that is right or not

here is an example

#include <GUIConstants.au3>
#include <GuiTab.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 447, 193, 125)
$Tab = GUICtrlCreateTab(24, 40, 561, 353)
$Tab1 = GUICtrlCreateTabItem("Test1")
$Label1 = GUICtrlCreateLabel("FIRST", 120, 144, 35, 17)
$Tab2 = GUICtrlCreateTabItem("Test2")

#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
        Case $nMsg = $GUI_EVENT_CLOSE
        Case _GUICtrlTab_GetCurSel($Tab) = 1
Edited by Thatsgreat2345
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...