Search:

Type: Posts; User: K4CY

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    397

    Re: Remove the title bar from a Form

    baka, I tried your suggestion - MoveWindow with bRepaint True, but same result for me. The IDE looks as expected, but the exe shows still some of the title bar. The only solution I've found so far is...
  2. Replies
    18
    Views
    397

    Re: Remove the title bar from a Form

    LaVolpe, that's it, works as expected, with the additional advantage of allowing me to only have horizontal sizing, which was something I'd have to jump through hoops later to achieve. Perfect,...
  3. Replies
    18
    Views
    397

    Re: Remove the title bar from a Form

    Thanks for trying ... OptionBase1, Those are the settings I'm using. DataMiser, That doesn't work either. Looks as expected in the IDE, but compiled there's the mini caption bar back. Thanks, Bob.
  4. Replies
    18
    Views
    397

    Re: Remove the title bar from a Form

    Peter, this is VB6 Form within my application that I want/need shown with no title bar. Why use APIs? If I set the Form BorderStyle = 0 then I can't resize the form. Thanks, Bob.
  5. Replies
    18
    Views
    397

    Remove the title bar from a Form

    Do I hear a collective groan of "Oh, no that's been addressed 1000 times". Bear with me please ...
    I have this code to turn off WS_CAPTION and DLGFRAME


    ' GWL_STYLE = (-16)
    '...
  6. Re: How to find the handle of the first 5 controls on and external application?

    LaVolpe, thanks for your insight. Using Winspector and/or Window Detective here's what I see - When running a small VB6 application, I see all the controls, their class and handles. I see the Window...
  7. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    I'm not licensed to drive Spy++, but Winspector and Window Detective just said Huh? But, for dull disclosure, I am that proficient in operating them, I couldn't even get a single application message...
  8. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    Ordinary Guy, thanks for the suggestion, but unfortunately not. The application GUI is written in Python, and I suspect the concept of 'Command Button' is as alien to them as Python is to me. The...
  9. Re: How to find the handle of the first 5 controls on and external application?

    Eduardo, that is magic. But just like all my previous testing, everything with the exception of the menus return either 0 or the hWnd of the main Window. I don't know if it is of consequence, but the...
  10. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    Yes, everyone keeps telling me how easy it should be using FindWindowEx. but so far I haven't been able to return anything higher than 0.


    lRet = FindWindowEx(h_wnd, 0&, vbNullString, "SOME TEXT...
  11. Re: How to find the handle of the first 5 controls on and external application?

    LaVolpe, thanks for the reply. I already have the Window hWnd, is there some devious use of the GetWindow API I wonder? I tried FindWindowEx with a few Button caption texts. Nothing, they all return...
  12. How to find the handle of the first 5 controls on and external application?

    Hi, I have need finf the handles of the first few controls on an external application. All I have is the Window handle. Several discussions I've read have suggested use of the AttachThreadInput API....
  13. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    Yes, the ultimate objective of the exercise it to write text to another applications textbox. However, I have not found a way to get the textbox handle. Initially, after starting the application, I...
  14. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    Yes, I have the handle of the window, yes I need the handle of the text box. What my sample code was attempting to do was to return the handle of the first five controls on the form, but it doesn't...
  15. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    Thanks to all who offered thoughts/suggestions so far. Several articles I have read suggested the only way was to use the AttachThreadInput API. So, here is what I tried.


    Dim...
  16. Replies
    19
    Views
    362

    Re: Set the TabIndex in an external application

    Peter, all I want to do is move the focus of the external application back to TabIndex 0. Thanks.
  17. Replies
    19
    Views
    362

    Set the TabIndex in an external application

    Hi, how to move the focus in an external application to TabIndex 0? Why do I want to do that? I have need put some text in a textbox. When the application is first run, I tab twice (I now see the...
  18. Replies
    4
    Views
    212

    Re: Subclassing WM_SYSCOMMAND and SC_MINIMIZE

    Strange, someone (Antonio maybe?) posted a reply suggesting I hook WM_WINDOWPOSCHANGED, then use the GetWindowPlacement API to determine the WindowState. I rushed off to try it, it worked perfectly....
  19. Replies
    4
    Views
    212

    Subclassing WM_SYSCOMMAND and SC_MINIMIZE

    I have need for my application when minimized/Restored to cause a second application to follow. To capture the minimize event, I hooked WM_SYSCOMMAND and wait for SC_MINIMIZE to come along, then send...
  20. Replies
    9
    Views
    326

    Re: How to find out if a form is 'on-top'?

    Excellent. Many thanks.
  21. Replies
    9
    Views
    326

    How to find out if a form is 'on-top'?

    Google returns countless articles/examples of how to set a form topmost or not_topmost using the SetWindowPos API. But, how do I determine if a Window has been set topmost? TIA. Bob.
  22. Thread: vbModeless

    by K4CY
    Replies
    3
    Views
    297

    Re: vbModeless

    I just figured it out - show the form with SW_SHOWNOACTIVATE then set its parent to be the application MDI.
  23. Thread: vbModeless

    by K4CY
    Replies
    3
    Views
    297

    Re: vbModeless

    Victor Bravo VI, thanks for the pointer. Unfortunately not quite what I need. I need the form to open without activation, but still be able to activate it with a mouse click. Bob.
  24. Thread: vbModeless

    by K4CY
    Replies
    3
    Views
    297

    vbModeless

    I have need for this: A popup form without focus and is application modeless. Like a combination of ShowWindow with SW_NOACTIVATE and Window.Show vbModeless. Any ideas? TIA Bob.
  25. Replies
    17
    Views
    741

    Re: Copy a byte array from one app to another

    Thanks for all the advice/info.
  26. Replies
    17
    Views
    741

    Re: Copy a byte array from one app to another

    Thanks for the replies, lots of good ideas. First one received, from qvb6, to use WM_COPYDATA took only a few minutes to implement, and works as expected passing byte arrays in both directions. Five...
  27. Replies
    17
    Views
    741

    Copy a byte array from one app to another

    Hi, this shouldn't be to hard I thought. In the one app I listen to a UDP socket for variable length byte arrays. On receipt, I send a message to the other app with the byte array pointer in wParan...
  28. Replies
    0
    Views
    1,651

    A Winsock UDP reply message question

    I start my application which receives UDP data from an external application. Start the external app - is starts with a dynamically assigned port number of (say) 1234 and broadcasts a UDP message. ...
  29. Replies
    20
    Views
    4,062

    Re: Background color of a Scrollbar?

    Resolved, with thanks to all. I hacked away at the code for an hour or two, then found a newer version at...
  30. Replies
    20
    Views
    4,062

    Re: Background color of a Scrollbar?

    Another small step for mankind, a giant step for me. Without checking the release date of the test project from VBClassic04, it is before Win 7. Some tweaking of the project, and 'themes' came to...
  31. Replies
    20
    Views
    4,062

    Re: Background color of a Scrollbar?

    This picture shows what remains to be done. This is the bottom right corner of an MSHFlexgrid set to show 'classic' scrollbars. Again, MyVScrollbar is the vertical one. You can clearly see the...
  32. Replies
    20
    Views
    4,062

    Re: Background color of a Scrollbar?

    Oops, where did attachment 152111 go? Here it is again

    152117
  33. Replies
    20
    Views
    4,062

    Re: Background color of a Scrollbar?

    OK, here is where it is today. Using the standard Win10 theme ...

    152111

    This is with myVScroll backcolor set to &HF0F0F0. This seems to be a close match to the generic MSHFlexgrid horizontal...
  34. Replies
    27
    Views
    3,279

    Re: MSFlexgrid

    Merci beacoup ...
  35. Replies
    20
    Views
    4,062

    [RESOLVED] Background color of a Scrollbar?

    What system color is the background color of a Scrollbar? On an application there are many scrollbars (grids, textboxes. lists. etc). And one lonely hand crafted custom control. (let's call it...
  36. Replies
    27
    Views
    3,279

    Re: MSFlexgrid

    A reinstall of VB6 solved that problem. MSHFlexgrid installed, and as advertised, the scrollbars show as standard Win 10 flat scrollbars. Now for the acid test. Change the application...
  37. Replies
    27
    Views
    3,279

    Re: MSFlexgrid

    Good thought, but none of the above. Out of the box Enterprise Edition. I just checked on another PC, and everything is as expected. I'll re-install VB6 tomorrow.

    Now for the hardest part ... I...
  38. Replies
    27
    Views
    3,279

    Re: MSFlexgrid

    151993
  39. Replies
    27
    Views
    3,279

    Re: MSFlexgrid

    ... and as a cerebral exercise, I made a new project. Blank form. C\Windows\Syswow64\mshflxgd.ocx registered (without error). The IDE Components shows this

    151991

    But I can't put an...
  40. Replies
    27
    Views
    3,279

    Re: MSFlexgrid

    Eduardo, no VB6. See my pictures with the text VB6/Win 10
Results 1 to 40 of 57
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width