Jump to content

TheCurrent

Active Members
  • Posts

    70
  • Joined

  • Last visited

TheCurrent's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. my connection is secure, and to a particular port. $ADODBHandle.Open("Data Source=subdomain.host.com,17818;Integrated Security=True;User ID=my_username;Password=my_password;Encrypt=True;TrustServerCertificate=True"); This fails to connect The requested action with this object has failed.:
  2. thanks, but this implementation would be a very long coding for me. i use spy++ to check the styles of a regulat picturebox, it has WS_CLIPCHILDREN style along with the WS_CLIPSIBLINGS, and i found this in the documentation Koda does not list this style as style that can be added to picturebox control
  3. MB, sorry for that, i thought i get better response over there, and i misunderstood you Here is a basic setup #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("Form1", 511, 339, 225, 150) $Pic1 = GUICtrlCreatePic("", 195, 55, 271, 201, BitOR($GUI_SS_DEFAULT_PIC,$WS_CLIPSIBLINGS)) GUICtrlSetOnEvent(-1, "Pic1Click") $Pic2 = GUICtrlCreatePic("", 10, 50, 251, 191, BitOR($GUI_SS_DEFAULT_PIC,$WS_CLIPSIBLINGS)) GUICtrlSetOnEvent(-1, "Pic2Click") $Input1 = GUICtrlCreateInput("Input1", 95, 70, 121, 21) GUICtrlSetOnEvent(-1, "Input1Change") $Input2 = GUICtrlCreateInput("Input2", 325, 120, 126, 21) GUICtrlSetOnEvent(-1, "Input2Change") $Button1 = GUICtrlCreateButton("Button1", 170, 210, 81, 21) GUICtrlSetOnEvent(-1, "Button1Click") $Button2 = GUICtrlCreateButton("Button2", 380, 220, 76, 21) GUICtrlSetOnEvent(-1, "Button2Click") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 Sleep(100) WEnd remember that am using koda
  4. MB, sorry for that, i thought i get better response over there, and i misunderstood you Here is a basic setup #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("Form1", 511, 339, 225, 150) $Pic1 = GUICtrlCreatePic("", 195, 55, 271, 201, BitOR($GUI_SS_DEFAULT_PIC,$WS_CLIPSIBLINGS)) GUICtrlSetOnEvent(-1, "Pic1Click") $Pic2 = GUICtrlCreatePic("", 10, 50, 251, 191, BitOR($GUI_SS_DEFAULT_PIC,$WS_CLIPSIBLINGS)) GUICtrlSetOnEvent(-1, "Pic2Click") $Input1 = GUICtrlCreateInput("Input1", 95, 70, 121, 21) GUICtrlSetOnEvent(-1, "Input1Change") $Input2 = GUICtrlCreateInput("Input2", 325, 120, 126, 21) GUICtrlSetOnEvent(-1, "Input2Change") $Button1 = GUICtrlCreateButton("Button1", 170, 210, 81, 21) GUICtrlSetOnEvent(-1, "Button1Click") $Button2 = GUICtrlCreateButton("Button2", 380, 220, 76, 21) GUICtrlSetOnEvent(-1, "Button2Click") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 Sleep(100) WEnd
  5. Thanks for responding, i have posted in the GUI forum, here is the link
  6. am trying to stack pictureboxs each contaning its own set of some other controls, but its not working in koda. the controls seems to go behind the picturebox, so i used the $WS_CLIPSIBLINGS style the man reason am using a pictureboxs is that i have stacked 10 pictureboxes ontop of each other, and need each to hold its controls, i would hide all unnecessary picturebox at runtime and display only the one needed. the effect is that hiding a picturebox, automatically hide its controls. i would have used a tab control, but it would take some extra space and defeat the purpose of hiding the other controls i the picturebox, showing them only when necessary, not switching. Does anyone know how to do this? is there any other control that can do this? can the picturebox host controls?
  7. thanks for your answer,i read the documentation, but because my gui is albeit complex, i am using Koda and included the $WS_CLIPSIBLINGS to make the hosted controls from going behind, but it still does not move them together when the picturebox is moved the man reason am using a picturebox is that i have stacked 10 picture boxes ontop of each other, and need each to hold its control. i would have used a tab control, but it would take some extra space and defiet the purpose of hiding the other controls i the picturebox, showing them only when necessary is there any other control that can do this?
  8. I'd like to use the picturebox control to host some other controls, but its not working in koda. the controls seems to go behind the picturebox. I decided to use the picturebox because the frame control does not properly suite my application. Does anyone know how to do this?
  9. anyone solve this problem yet, any wrapper for webbrowser control?
  10. you might get some answers here http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/e03e4a5b-de68-49ff-987a-6c3571eb4ff7/
  11. I made a toolbar which has 32x32 bit icons, so the toolbar height should be about 36-40pix or there about. Now when i add the toolbar to reebar, the rebar does not auto resize to toolbar height ; create the rebar control $hReBar = _GUICtrlReBar_Create($frmMain, BitOR($CCS_TOP, $WS_BORDER, $RBS_VARHEIGHT, $RBS_AUTOSIZE, $RBS_BANDBORDERS)) $tlbMain = _GUICtrlToolbar_Create($frmMain, BitOR($TBSTYLE_FLAT,$TBSTYLE_TRANSPARENT,$WS_TABSTOP,$WS_VISIBLE,$WS_CHILD,$WS_CLIPSIBLINGS)) how do i solve this problem?
  12. thank you so much, am greatful
  13. i don't know why its not working, but i'll try it again. is it possible to get the new width and height of the window after resize?
  14. why not put your code in the code tag " " ; your code goes here ""
×
×
  • Create New...