Search Results - VBForums

Search:

Type: Posts; User: Jonney

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    205

    Re: read file lineby line from line 457Th

    Good technique! I Couldn't download because I am not the member. Help us attach to VbForums thread of yours.
  2. Re: Postion a form on the middle of the screen right above the task bar?

    Bonnie West always answers on an elegant way. Thanks.
  3. Replies
    17
    Views
    892

    Re: [VB6] RSA Data Signing via CNG

    What the beautiful codes!
    Thank dilettante and Bonnie. Both of your codes are neat and nice to read.
  4. Replies
    6
    Views
    224

    Re: [RESOLVED] Format Number

    1,234,567.50 is wrong? For me,it is right format.
  5. Replies
    17
    Views
    892

    Re: [VB6] RSA Data Signing via CNG

    Since you have lots of knowledge crossing many fields,Could you please open a new thread (topic) on the techniques of Copy Right protection for a commercial software?
  6. Replies
    60
    Views
    30,347

    Re: VB6 - DirectShow WebCam Minimal Code

    Download and install K-Lite Codec pack will solve your problem.
  7. Replies
    6
    Views
    312

    Re: Weeknumber

    ... ...
  8. Replies
    6
    Views
    312

    Re: Weeknumber

    Your answer is right. The control on VBForum has problem with WeekDay.

    Thank you.
  9. Replies
    6
    Views
    312

    Re: Weeknumber

    My question is Jan 2016 Day 2,4,5,6,7,8,9 is week 53? Refer to highlight in RECT on above screenshot. That calendar on vbform's week marking is correct?
  10. Re: Text fuzzy: Use my Brush for multiLine TextBox

    From what I tested, WM_ERASEBKGND can't resolve the problem. VBAccleerator's solution is complete. But I don't have time to prove it. Will come back in months.
  11. Re: C# vs VB6: How to get IME Unicode Char associated with an ANSI Window (UC or Form

    The raw problem is still un-resolved. But I just close it and wait to see who can come up the solution.
  12. Replies
    6
    Views
    312

    [RESOLVED] Weeknumber

    MS had given a fix for WeekNumber. Refer to:

    http://support2.microsoft.com/default.aspx?scid=kb;en-us;Q200299

    But I saw a code on VBForum showing a weird weeknumber, refer to my screenshot. Is...
  13. Re: Text fuzzy: Use my Brush for multiLine TextBox

    A bit complicated. More debugs need...
  14. Re: CommonControls (Replacement of the MS common controls)

    For Single line TextBoxW, my customized SolidBrush or ImageBrush works very well. But if the textbox's MultiLine is True, the text got "fuzzy" while I am typing or scrolling. Sir,What is solution?
    ...
  15. Re: Text fuzzy: Use my Brush for multiLine TextBox

    I google it (multiline,brush,WM_CTLCOLOREDIT https://www.google.com/search?q=multiline,brush,WM_CTLCOLOREDIT&es_sm=93&biw=1366&bih=681&ei=GsPOVOuxOYLV8gWfsYDIDw&start=20&sa=N), Many coders report and...
  16. [RESOLVED] Text fuzzy: Use my Brush for multiLine TextBox

    For Single line TextBox or SDK TextBoxW, my customized Brush for textbox works very well. But if the textbox's MultiLine is True, the text got "fuzzy" while I am typing or scrolling.

    123421


    ...
  17. Replies
    7
    Views
    353

    Re: Display custom control over form borders

    You should add some codes to check the ListBox's boundary. perhaps you will use some APIs like GetSystemMetrics(SM_CXSCREEN),GetWindowRect to compute new boundary then use SetWindowPos API to...
  18. Replies
    7
    Views
    353

    Re: Display custom control over form borders

    For easier coding, I think you'd better use one TextBox + picButton (PictureBox) + ListBox to make your customized multiColumn-ComboBox. You have to use Mr.Bonnie's above trick to place ListBox at...
  19. Replies
    8
    Views
    523

    Re: [VB6] Virtual 5.0 ListView

    Very good!
    Virtual List is some sort of loading data om demand. I saw lots of ActiveX grid support VL, Most of 3rd Grids just load the VL and Show on us. Now V50Listview 1.2 show us how to do...
  20. Replies
    2
    Views
    278

    Re: Mysterious VBControlExtender

    The WebBrowser is good example.
    Somehow the VBControlExtender didn't executive my ActiveX's UserControl_ReadProperties, so my Subclass can't be initialized. I will make more test.

    Thank you Sir....
  21. Replies
    2
    Views
    278

    [RESOLVED] Mysterious VBControlExtender

    From my trail, I come to know VBControlExtender has some disadvantages, The Subclassing Procedures in my ActiveX (UC) are not functioning any more. After a thought, it won't support subclassing as it...
  22. Replies
    8
    Views
    523

    Re: [VB6] Virtual 5.0 ListView

    Good demonstration for Virtual loading data. Can you extend to show how to sort the virtual list?
    BTW,when mouse down and move to other items,subclass crash.
  23. Re: Check GetFocus Parent is UserControl.hWnd

    private Const GA_PARENT As Long = 1
    private Const GA_ROOT As Long = 2
    private Const GA_ROOTOWNER As Long = 3
    private Declare Function GetAncestor Lib "user32.dll" (ByVal hwnd As Long, ByVal...
  24. Re: Check GetFocus Parent is UserControl.hWnd

    IsFocused is not called by Timer, it is being called when Editors (SDK TextBox or SDK ComboBox... in my UserControl) finish Editing by <Enter> button or <Escape>,etc. but the keyboard event is being...
  25. Re: Check GetFocus Parent is UserControl.hWnd

    The purpose of IsFocused function is that: While UCx is hiding, e.g. after input, UserControl will SetFocus and draw something.



    Function HideEditors()
    If UC1.Visible =True then
    ...
  26. Re: Check GetFocus Parent is UserControl.hWnd

    Honestly,I am not so clear about this article...
    I am not so understand UserControl related events:


    Private Sub UserControl_EnterFocus()
    Debug.Print "EnterFocus"
    End Sub

    Private Sub...
  27. [RESOLVED] Check GetFocus Parent is UserControl.hWnd

    How to check current focused Parent is my UserControl.hWnd? I used hardcode to check it,any API can do the job?



    Private Function IsFocused() As Boolean

    Dim lhWnd As Long
    lhWnd =...
  28. Re: [RESOLVED] How to get Unicode char on IME window in VB6?

    Take time to digest...

    Thanks. If you know direct way instead of dependence of RichClient, please teach me.
  29. Re: CommonControls (Replacement of the MS common controls)

    Sorry I miss this function!
    BTW, ListBoxW's Selected doesn't work from what I tested, (Just test it not yet investigate.)
  30. Re: CommonControls (Replacement of the MS common controls)

    I just occasionally SendMessage LB_SETITEMHEIGHT to ListBoxW (Normal Mode), The ListBoxW just draw partially. I Send the same message to VB6 ListBox (normal mode as well),VB6 ListBox draw normally....
  31. Re: [RESOLVED] How to get Unicode char on IME window in VB6?

    Not yet study to use RichCleint5 to build an UserControl in class (or module), if a demo is available, please give me so at I can try.

    The problem is VB6's UC is ANSI window, so if locale is 1033...
  32. Re: CommonControls (Replacement of the MS common controls)

    ItemHeight is sure OK, In case crazy guy send this message to ListBoxW though I send this Message to VB6 ListBox which is OK.

    Call SendMessage(ListBoxW1.hWnd, LB_SETITEMHEIGHT, 0,ByVal 40&) make...
  33. Re: Win7 Explorer Themed Selection pszClassList

    OK, thank you for clarification. I have to draw it in hard code.
  34. Re: CommonControls (Replacement of the MS common controls)

    Not sure a bug or default behavior:

    ListBoxW1.DrawMode = lstDrawModeNormal:


    Call SendMessage(ListBoxW1.hWnd, LB_SETITEMHEIGHT, 0,ByVal 40)

    If ListBoxW.IntegralHeight is True, After...
  35. Re: Win7 Explorer Themed Selection pszClassList

    VB6 SDK ListBox and ComboBox created by CreateWindowEx don't have Theme selection.
    .NET also don't have.

    ListView and TreeView have but have to write some extra codes to turn on instead of by...
  36. Re: CommonControls (Replacement of the MS common controls)

    Can you please put some codes for Theme selection support? For Listview and Treeview:



    Public Property Get ExplorerTheme() As Boolean
    ExplorerTheme = m_ExplorerTheme
    End Property
    Public...
  37. Re: Win7 Explorer Themed Selection pszClassList

    From what I know, ComboBox and ListBox doesn't have Themed selection, But Treeview,Listview got.

    What is the behind story? and why is so difficult?

    ListBox/ComboBox doesn't have similar...
  38. Re: [RESOLVED] How to get Unicode char on IME window in VB6?

    Thank you for follow-up.
    I tried many definitions for ImmGetCompositionStringW API but always return 0. The problem is that I can't intercept most IME Message except 3:...
  39. [RESOLVED] Win7 Explorer Themed Selection pszClassList

    Does MS provide pszClassList for Win7 File Explorer Theme Selection, so that I can fill OpenThemeData API to draw Hover and Selection Rectangle? Or just doesn't exist? If doesn't have, how to...
  40. Replies
    11
    Views
    452

    Re: VB6 Subclasser issue

    The Subclass issue I said on the lst post is due to my wrong usage.
    Krool's Subclasser somehow being 'destroyed" or 'disabled' by my another MouseEnter and MouseLeave class. After I discard that...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.