corey822 Posted December 8, 2007 Share Posted December 8, 2007 how do i add text to tabed pages? link menus in the menu bar up top to a different page ? is the guisetdata the same for the listbox? and wat control id is best used? is it possible to use a button to email the reply to me once clicked? and sorry for so many but last but not least how do u add writing into a koda page to say like a pragraph or something? cheers C.W C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Zedna Posted December 17, 2007 Share Posted December 17, 2007 how do i add text to tabed pages?Click inside desired Tab sheet and then change Caption in Object Inspectorlink menus in the menu bar up top to a different page ?Is not possible.You must write your own logic in your final AU3 generated script yourself.and sorry for so many but last but not least how do u add writing into a koda page to say like a pragraph or something?Just place Edit control into desired Tab sheet. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
corey822 Posted December 18, 2007 Author Share Posted December 18, 2007 yeah i know i cnat in koda but how do i do it after koda? C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Zedna Posted December 18, 2007 Share Posted December 18, 2007 yeah i know i cnat in koda but how do i do it after koda? If Tab control is created by AutoIt's internal function then catch WM_NOTIFY message, specifying the TCN_SELCHANGE by GUIRegisterMsg() and make your enable/disable menu items in this function. Here are some similar code snippets: $Form1 = GUICreate("My app", 300, 200, -1, -1) $ListView1 = GUICtrlCreateListView("A|B|C", 15, 15, 270, 118) ... GUIRegisterMsg($WM_NOTIFY, "WM_Notify_Events") Func WM_Notify_Events($hWndGUI, $MsgID, $wParam, $lParam) #forceref $hWndGUI, $MsgID, $wParam Local $tagNMHDR, $event If $wParam = $ListView1 Then $tagNMHDR = DllStructCreate("int;int;int", $lParam) If @error Then Return $event = DllStructGetData($tagNMHDR, 3) If $event = $NM_DBLCLK Then OnDoubleclick() EndIf EndFunc Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
corey822 Posted December 18, 2007 Author Share Posted December 18, 2007 If Tab control is created by AutoIt's internal function then catch WM_NOTIFY message, specifying the TCN_SELCHANGE by GUIRegisterMsg() and make your enable/disable menu items in this function. Here are some similar code snippets: $Form1 = GUICreate("My app", 300, 200, -1, -1) $ListView1 = GUICtrlCreateListView("A|B|C", 15, 15, 270, 118) ... GUIRegisterMsg($WM_NOTIFY, "WM_Notify_Events") Func WM_Notify_Events($hWndGUI, $MsgID, $wParam, $lParam) #forceref $hWndGUI, $MsgID, $wParam Local $tagNMHDR, $event If $wParam = $ListView1 Then $tagNMHDR = DllStructCreate("int;int;int", $lParam) If @error Then Return $event = DllStructGetData($tagNMHDR, 3) If $event = $NM_DBLCLK Then OnDoubleclick() EndIf EndFunc ok im a newb i admit it but i still dont understand it i need it really broked down sorry for the inconvenience C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now