Search:

Type: Posts; User: imadthemad

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds.

  1. VS 2008 Re: [RESOLVED] Listview columnheader No wndproc on mouse move :(

    My final solution without having to override wndproc is posted below.

    (so actually credit goes to the thread i mentioned in my first post, HDM_Hittest is the best way to do it. But there's no need...
  2. VS 2008 Re: Listview columnheader No wndproc on mouse move :(

    Okay guys so after ALL this hard work, I took a breather and properly looked at it, and i found out the problem ISN'T really due to the header mousemove capabilities.

    Yes, not having mousemove...
  3. VS 2008 [RESOLVED] Listview columnheader No wndproc on mouse move :(

    Hi

    I've made a custom listview control with much cooler visual styles but i'm having a problem with capturing mousemove over the listview's columnheader

    I've found that this has been an issue...
  4. VS 2008 Re: Inheriting custom column collection for my custom list view

    Okay I figured it out
    had to import system.drawing, system.design, and system.drawing.design
    then add the following code for the collection to generated automatic designer code for adding items to...
  5. VS 2008 Re: Inheriting custom column collection for my custom list view

    I'm actually so close to figuring this out!

    The code below is doing EXACTLY what i need
    But the only problem that remains is that when I add my special columns from the designer, there is no...
  6. VS 2008 Re: Inheriting custom column collection for my custom list view

    but the columns property is not overridable :\

    Does this mean i MUST use another property name for my custom column collection?

    In any case I thought overload would still work because I tested...
  7. VS 2008 Inheriting custom column collection for my custom list view

    Hello

    I'm building a custom listview class library for use in future projects as a custom listview control.

    Using the code below as an example I've been able to add properties to my custom...
  8. VS 2008 Re: toolstripsplitbutton drop down state

    ty i00
    i'll check out that last method and if it's not worth it i'll switch to the other control
  9. VS 2008 Re: toolstripsplitbutton drop down state

    yeah the problem isnt seeing whether the dropdown is open anymore

    you can tell if the dropdown is open by checking whether or not a dropdownitem is visible

    the problem is clicking will close...
  10. VS 2008 Re: toolstripsplitbutton drop down state

    but ur right about one thing, the click does close the drop down (inherently)...

    now if there is a way to tell when the dropdown is closing because of the inherent click function, or if its...
  11. VS 2008 Re: toolstripsplitbutton drop down state

    ur method means i would have to cycle through my buttons and set the visible property to true or false in order to show\hide the dropdown list

    surely there must be another way! the actions...
  12. VS 2008 Re: toolstripsplitbutton drop down state

    I tried that.
    For some reason, dropdownclosed is being called before the click event but without the drop down closing!
    the result is the drop down always opens when i click...

    i was able to...
  13. VS 2008 [RESOLVED] toolstripsplitbutton drop down state

    i have a toolstripsplitbutton, and i want the drop down items to show\hide when you click the button not just when the mini arrow is clicked

    so i call toolstripsplitbutton.ShowDrowDown on the...
  14. VS 2008 Re: Change default naming of new controls

    yep thought so
    thanks
    resolved
  15. VS 2008 Re: Change default naming of new controls

    I looked up custom designers and it was exactly what i needed

    BUT just to make sure i got this right a custom designer can only be applied to a custom control (which can simply inherit the regular...
  16. VS 2008 [RESOLVED] Change default naming of new controls

    Hi
    I was just wondering is there a way to change the default name when you add a new control?
    I like to name my controls btnSomething etc... and if i could change the default names of added buttons...
  17. Replies
    0
    Views
    930

    VS 2008 byte().gethashcode

    using the default iequalitycomparer for byte array type of object requires a new class that implements iequalitycomparer, because the default iequalitycomparer will not compare the values of the...
  18. Replies
    1
    Views
    23,876

    Re: VB.Net: CRC32 HashAlgorithm

    Wow thanks for this its just what i needed!
    searching for a while
  19. VS 2010 most efficient hash code function for byte array

    i have 60-100mb files, that are basically lists of strings seperated by vbcrlf

    i want to find all the common strings between them, as fast and as memory efficient wise as possible

    if i use...
  20. VS 2008 Re: [RESOLVED] For..Next loop in a For...Next loop

    yours is faster!
    ty
    really matters concerning the numbers im dealing with.

    do you happen to know if it's the fastest method possible? i've tried several so far and so it looks like it...
  21. VS 2008 Re: [RESOLVED] For..Next loop in a For...Next loop

    wonder which code is faster
    gonna try now
  22. VS 2008 Re: For..Next loop in a For...Next loop

    alrite ty
  23. VS 2008 Re: For..Next loop in a For...Next loop

    i'm hoping for a solution that doesnt require me adding a boolean somewhere or having to create a new function
  24. VS 2008 Re: For..Next loop in a For...Next loop

    basically i want to go to line 10
  25. VS 2008 Re: For..Next loop in a For...Next loop

    i don't want to exit for
    i want to continue for i
    i want to exit the if and skip the n = n+1
  26. VS 2008 Re: For..Next loop in a For...Next loop

    and im trying to stay away from using goto :\
  27. VS 2008 [RESOLVED] For..Next loop in a For...Next loop

    Private Function SearchCount(ByVal mB() As Byte, ByVal search() As Byte) As Integer
    Dim n As Integer = 0
    For i = 0 To mB.Length - search.Length
    If mB(i) = search(0)...
  28. VS 2008 Re: Playing with the designer - InitializeComponent -The forbidden area

    it probably will but it will take me too much code change

    the serialization code i used to save the controls makes it much easier to save different sets of controls based on need. its not the same...
  29. VS 2008 Re: Playing with the designer - InitializeComponent -The forbidden area

    i mean it still takes 3 seconds for the program to load when i put that code

    loadersub is faster if i do it before all the layouts are performed. me.suspendlayout followed by loadersub then...
  30. VS 2008 Re: Playing with the designer - InitializeComponent -The forbidden area

    I tried that

    doesn't help :\
  31. VS 2008 Playing with the designer - InitializeComponent -The forbidden area

    Alright so i have a form with alot (ALOT) of controls...
    many tabs, many listviews, many comboboxes and textboxes, all of which have values which i save\load using a class i made for saving and...
  32. VS 2008 Design view reloading\slow + editing the designer

    Hi
    I have a relatively crowded form with alot of controls.
    Naturally, refreshing the design view is relatively slow.
    Everytime i add a handles clause to a sub from the code directly (because i...
  33. VS 2008 Re: GC.Collect: Memory vs Performance?

    actually i tried something to see how much my design code is responsible for the memory.

    i simply copied and pasted the controls into a new form and i set the ones that were set on owner draw back...
  34. VS 2008 [RESOLVED] GC.Collect: Memory vs Performance?

    I have an application (i've been working on for a long time) that has many tabs and controls and quite a few components
    And a good deal of design code. And a list box that has around 100k items (i...
  35. Replies
    1
    Views
    648

    VS 2008 Reshaping a form

    how do i reshape a form with formborderstyle set to none?

    specifically i've kind of photoshopped my own frame and everything (and set it as backgound image), but i want to trim or curve the edges...
  36. Replies
    1
    Views
    1,185

    VS 2008 Re: Owner drawn combobox: the border!

    whatever is redrawing the damn background colored border, its taking place after lostfocus and mouseleave events...
  37. Replies
    1
    Views
    1,185

    VS 2008 Owner drawn combobox: the border!

    Ok so i have an owner drawn combobox
    and everything is fine in the drawitem event,
    except i'm a perfectionist and there is no border

    i have a beige backcolor, and i really just want a black...
  38. VS 2008 Re: Monitor HTTP data sent and recieved over a webbrowser control

    nvm
    here is the charming solution

    <Runtime.InteropServices.DllImport("wininet.dll", SetLastError:=True)> _ Private Shared Function InternetSetOption(ByVal hInternet As IntPtr, ByVal dwOption As...
  39. VS 2008 Re: Monitor HTTP data sent and recieved over a webbrowser control

    i couldnt even find a beforenavigate event
    and the navigating event only shows URL
    :sadface:
  40. VS 2008 Re: Monitor HTTP data sent and recieved over a webbrowser control

    fair enough on the emulation point

    i thought there might be an inherent way to monitor network data of your own application in vb.net, i guess not...

    but there has to be a way to set a proxy...
Results 1 to 40 of 383
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width