Search:

Type: Posts; User: OldClock

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: How to set form interior size (ScaleWidth and ScaleHeight) to specific dimensions

    Thank you
  2. How to set form interior size (ScaleWidth and ScaleHeight) to specific dimensions

    Hey

    I need to set a form's interior size to specific dimensions.

    frm.Width and frm.Height define not only the form's interior but also include window borders and possibly other things, which...
  3. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Hey Krool

    If a project already uses VBCCR16 ActiveX, what is the update process for switching to VBCCR17?
  4. Re: CommonControls (Replacement of the MS common controls)

    Thank you!
  5. Re: Attachment "Done" button hidden by AdChoices

    1. "Insert image" != "Attachments". To use "Attachments" I have to use Chrome's DevTools to inline-edit the button and set its CSS to display:none.
    2. Resolution has nothing to do with it.
    3....
  6. Attachment "Done" button hidden by AdChoices

    Hey

    The button to complete attaching a file is obscured by the AdChoices spam button.
    178277
  7. Re: CommonControls (Replacement of the MS common controls)

    Hey

    I have an issue and a question regarding the VBCCR16.TreeView:

    1. Problem: The first root node collapses when the TreeView gets focus. To reproduce, populate the treeview using a...
  8. Replies
    29
    Views
    13,681

    Re: Fix Visual Styles Issues (Themes)

    Thanks, but due to the language barrier (not sure what you mean by "not obliged") and due to my unfamiliarity with OCX I'm still not clear on the situation.

    1. The Std-EXE version is susceptible...
  9. Replies
    29
    Views
    13,681

    Re: Fix Visual Styles Issues (Themes)

    Hey Krool

    VBCCR/ActiveX Control Version/Common/VisualStyles.bas
    is a greatly stripped-down version of
    VBCCR/Standard EXE Version/Common/VisualStyles.bas
    e.g. it has no InitVisualStylesFixes...
  10. Re: CommonControls (Replacement of the MS common controls)

    Fantastic, thank you!
  11. Re: CommonControls (Replacement of the MS common controls)

    Great, thanks.

    I tried that, but get a buggy result. When I disable combobox animation in Windows, SPI_GETCOMBOBOXANIMATION returns False. Good. But when I use SPI_SETCOMBOBOXANIMATION to set it...
  12. Re: CommonControls (Replacement of the MS common controls)

    vbccr_testing_v1.0.0.zip above contains the compiled program. Attached here is the source code.
    VBCCR16.OCX missing due to its 5MB size - the forum allows attachments of max 1MB.
  13. Re: CommonControls (Replacement of the MS common controls)

    Hey

    VBCCR16 1.6.126

    See the attached project.

    1. Is it possible to prevent Windows from overriding a ComboBox's BackColor when using CboStyleDropDownList? I set a combobox to &H00C0FFFF&...
  14. Re: How to efficiently check if ADODB.Connection is really open

    Hey

    I have indeed found a good solution. I know it's good because I have put it through many tests and found no wasted overhead, and also because it's been running for a few years on many networks...
  15. Re: CommonControls (Replacement of the MS common controls)

    For reference, I used:


    Public Enum ScrollBarStyles
    Horizontal_SBS = &H100000
    Vertical_SBS = &H200000
    End Enum

    Public Function isScrollbarVisible(ByVal hWnd As Long, ByVal sbs As...
  16. Re: CommonControls (Replacement of the MS common controls)

    That works, thanks Krool.
  17. Re: CommonControls (Replacement of the MS common controls)

    Hey

    1. How can I check whether a vertical scrollbar has appeared in a listview? I want to resize column widths if a vertical scrollbar appear.

    2. Is it possible to allow a vertical scrollbar to...
  18. Re: CommonControls (Replacement of the MS common controls)

    Well I solved/worked around this by:
    1. Deleting all CommonDialog controls from my forms.
    2. This allowed me to remove the "Microsoft Common Dialog Control 6.0" component.
    3. With no actual...
  19. Re: CommonControls (Replacement of the MS common controls)

    Kr00l I'm having an issue with the CommonDialog. I placed one on MDIForm1, then I need to use it from some module:


    Dim cDlg As VBCCR16.CommonDialog
    Set cDlg = MDIForm1.ComDlg


    This...
  20. Re: CommonControls (Replacement of the MS common controls)

    I wrote that here:
    http://www.vbforums.com/showthread.php?882529-How-I-migrated-my-project-to-VBCCR&p=5444945&viewfull=1#post5444945


    https://github.com/Kr00l/VBCCR/issues...
  21. Re: How to set canvas size of form with borders

    Alternatively, a way to have an MDI form auto-size to fit its child forms.
  22. How to set canvas size of form with borders

    Hey

    I have a form with .BorderStyle=FixedSingle. I need to set the form to a specific size: 1260px x 728px. That is, the canvas of the form, i.e. the area where you place stuff, must have that...
  23. Re: CommonControls (Replacement of the MS common controls)

    Well, I managed to redraw the picture using this:


    Private Sub RoundButtons_MouseEnter(Index As Integer)
    With RoundButtons(Index).Picture
    .Render GetDC(RoundButtons(Index).hwnd), 0,...
  24. Re: CommonControls (Replacement of the MS common controls)

    How do you repaint a CommandButtonW's picture with a vertical offset?

    Before using VBCCR, I made custom graphical buttons by creating a PictureBox (which I call PictureBtn), setting...
  25. Re: CommonControls (Replacement of the MS common controls)

    Is it possible to make a list (listview?) where a row spans multiple lines, possibly using different formatting for some elements?

    An example:
    174629

    Note that the second row is selected, and...
  26. Re: CommonControls (Replacement of the MS common controls)

    Windows XP, Home Edition, SP3, version 2002.

    Using VBCCR16.OCX 1.06.0061 3af959d
  27. Re: CommonControls (Replacement of the MS common controls)

    Is anyone else experiencing the problem that text inside TextBoxW with alignment set to vbCenter does not get centered?


    TextBoxW1.Text = "this should be centered"
    TextBoxW1.Alignment = vbCenter...
  28. Re: CommonControls (Replacement of the MS common controls)

    Windows XP is supported.
  29. Re: How save project without VB6 IDE compiling UserControls

    Thank you Leo.
  30. Re: CommonControls (Replacement of the MS common controls)

    That works, thank you!
  31. Re: CommonControls (Replacement of the MS common controls)

    Hey

    I'm making a UserControl button using VBCCR 1.06.0059 widgets.

    The button has three states:

    Disabled
    When disabled, the icon and text should be gray.
    174099
    Normal
  32. Re: How to access control placed in a UserControl from outside of the UserControl

    I'm up **** creek without a paddle.

    A UserControl just seems like the wrong solution to begin with. A large and complex frame e.g. for creating an invoice, comprising of listviews, textboxes,...
  33. Re: How to access control placed in a UserControl from outside of the UserControl

    Thanks for the replies.

    Why a UserControl? It was suggested that I use UserControls in the "Main form too large - how to split up?" thread, and this is my first foray into UserControl territory so...
  34. Re: How save project without VB6 IDE compiling UserControls

    I somehow got a different popup and eventually managed to click through to the end, in a completely un-intuitive way, but it's saved now.
  35. How to access control placed in a UserControl from outside of the UserControl

    Hey

    UserControl1 has some Text1.
    UserControl1 is placed on Form1.
    Form1 calls FooModule, and FooModule tries to check whether Text1.Value = "banana".

    How do I access Text1 from FooModule?
    ...
  36. How save project without VB6 IDE compiling UserControls

    Hey

    I'm busy splitting my MainForm.frm into multiple UserControls. This is a lot of work and the project will be broken (i.e. won't compile) for quite a while until everything is sorted. When I...
  37. Replies
    12
    Views
    761

    Re: Main form too large - how to split up?

    I'm experimenting (for the first time) with UserControl, and I like it.

    MDI vs UserControl for this purpose, what are the advantages of one over the other?
  38. Replies
    12
    Views
    761

    Re: Main form too large - how to split up?

    Thank you everyone for your suggestions, I'm considering all of them.


    How would you glue them together?


    The MainForm contains one uniquely named and indexed frame per "section". Each frame...
  39. Re: CommonControls (Replacement of the MS common controls)

    Hi kr00l

    In relation to http://www.vbforums.com/showthread.php?882695-Main-form-too-large-how-to-split-up&p=5446145&viewfull=1#post5446145

    My MainForm.frm is very large. Editing it in the VB6...
  40. Replies
    12
    Views
    761

    Main form too large - how to split up?

    Hey

    First, some background info.

    My program consists of several forms, of which the main one now has around 2300 controls used in over 200 frames. There are about 15 main "sections" in the...
Results 1 to 40 of 164
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width