dcsimg

Search:

Type: Posts; User: jumper77

Page 1 of 13 1 2 3 4

Search: Search took 0.24 seconds.

  1. Re: Unable to control Listview column size

    I didn't know to put the code at the end or populating the Listview, but I put it at the end this time and also the new code, but the result is the same. I'm not great with Listviews as you can tell....
  2. Re: Unable to control Listview column size

    If I could get the column width to be about twice the size it is now, I would be done with tweaking the Listview :)
  3. Re: Unable to control Listview column size

    Thank you Chris, but that did not work. If I comment out my code for adding a column and use your code, the column width goes back to being too big. If I use your code and my code for adding a...
  4. [RESOLVED] Unable to control Listview column size

    I started out trying to reduce the size of a Listview column. In the beginning the columns were too far apart. So I added a column definition to the code. Now the columns are too close.
    Here's the...
  5. Re: [RESOLVED] Unable to get transparent image in picturebox to stay transparent

    I figured out how to use Paul's solution in my situation and it works like a charm.
    Big thanks Paul!
  6. Re: Unable to get transparent image in picturebox to stay transparent

    I'm closing this. I will come back to this later. For now I have a lot more coding I can do to clear my head...
  7. Re: Unable to get transparent image in picturebox to stay transparent

    Ok, now I understand. Actually that's the font that I'm using. It does that with numbers and some other letters. I have it set so someone can change the font to whatever they want. The font I'm using...
  8. Re: Unable to get transparent image in picturebox to stay transparent

    Hi Arve, I'm not sure what your post means. I'm only dealing with an image and not text. Sorry if I'm not understanding your post correctly.
  9. Re: Unable to get transparent image in picturebox to stay transparent

    I've tried to draw the image using the handle of the Form and the handle of the Listview, but the only way I've been able to make the image show up is to use the desktop Handle. The problem with that...
  10. Re: Unable to get transparent image in picturebox to stay transparent

    Thanks Peter, I will check it out. Might find some good stuff in there. Although my Listview is already transparent.
    Here's a picture of it. If you don't know, I'm trying to make another desktop to...
  11. Re: Unable to get transparent image in picturebox to stay transparent

    Ok, I have a little bit of something that I can talk about now. Previously when I tried to use this code, I was trying to use the handle of the Listview. And as long as I did that, the icon/png was...
  12. Re: Unable to get transparent image in picturebox to stay transparent

    Paul, yes I use Google constantly. I don't ask a question here until I've done a lot of searching. I think I should take a break from the questions here for a while and take a few days off. And yes,...
  13. Re: Unable to get transparent image in picturebox to stay transparent

    Haha... I need a vacation, lol. I mean THANK YOU PAUL!
    And thank you Passel for letting me know I'm going crazy :)
  14. Re: Unable to get transparent image in picturebox to stay transparent

    I'm going to stop trying to make it work for a while. I'm getting frustrated. Going to watch a movie and pick it up again tomorrow.
    Thanks a bunch Passel
  15. Re: Unable to get transparent image in picturebox to stay transparent

    Yes, dumb me... I'm already working on something else.
    thanks
  16. Re: Unable to get transparent image in picturebox to stay transparent

    Just tried this, but the image is not visible...


    Using bmp As Bitmap = My.Resources.InfoGlow
    Dim g As Graphics = Graphics.FromImage(bmp)
    g.DrawImage(bmp,...
  17. Re: Unable to get transparent image in picturebox to stay transparent

    I was thinking about that. I will do that and see what I come up with. Thanks Paul
  18. [RESOLVED] Unable to get transparent image in picturebox to stay transparent

    I've made similar posts about this and I'm still struggling with it. Ok, I have a Listview that is full screen and I have a picturebox that sits at the bottom right of the Listview and is 64x64. When...
  19. Re: Trying to capture the upper right hand portion of a form Background Image

    I think I have got this as close as what I want that I can get. Made some changes to the background image changed event and used a little of your code and some code I found on the net that will get...
  20. Re: Trying to capture the upper right hand portion of a form Background Image

    Changed the code to VB, but getting the same result. I don't want to waste your time and I thank you so much for the help. I think I'm going to search for a better Average Color function :)
  21. Re: Trying to capture the upper right hand portion of a form Background Image

    Just saw your newest post... thanks, I'll check it out
  22. Re: Trying to capture the upper right hand portion of a form Background Image

    I tried to alter your code a little to work with the 24bit code... just thought I would show you what I did. Maybe I'm killing it with these changes. Not sure...



    Function ExtractImage(ByVal...
  23. Re: Trying to capture the upper right hand portion of a form Background Image

    I think it worked but I'm not sure. My problem is that I need the bitmap to be a 24bit bitmap in order to send it to the "GetAverageColor" function. Right now the color function is always setting the...
  24. Re: Trying to capture the upper right hand portion of a form Background Image

    Thank you! Let me try it and I'll let you know how it worked out...
  25. [RESOLVED] Trying to capture the upper right hand portion of a form Background Image

    I need to store the contents of a portion of a full screen image to a bitmap. I'm working on the code below but it doesn't seem to be getting the portion of the image I'm wanting. I need the portion...
  26. Re: Trying to understand SizeF and Measure string when drawing a string

    Hi SH, thanks for the reply. In my mind I'm thinking the Sz part is doing what it should, but I will keep an eye on it like you said since it's using Float. Right now it's being cast to Integer. And...
  27. [RESOLVED] Trying to understand SizeF and Measure string when drawing a string

    I'm drawing icons and text to a Buffer Image (in memory) showing icons and filenames of a directory. After writing to the buffer is complete, it's pushed to the Form Background Image. About 80% of...
  28. Re: Font Size "sometimes" gets very small or very big (sometimes)

    I think so. And I'm working on the code to resize every bitmap that I use in that area of the program to see if it will fix it.

    Wish me luck, haha
  29. Re: Font Size "sometimes" gets very small or very big (sometimes)

    CWITT, I had forgotten I had posted that, haha. If someone doesn't say something soon, I'm just going to mark it as resolved. That's because it's in my favorite category, "This only happens to me!"....
  30. Re: Font Size "sometimes" gets very small or very big (sometimes)

    Update: Just tried using My.Settings.Font and still have the same problem.
  31. [RESOLVED] Font Size "sometimes" gets very small or very big (sometimes)

    I'm writing directly to a form and in the form load event I set the Font. The font is serialized in the registry.


    ret = rk.GetValue("NewFont")
    If CStr(ret) <> "" Then
    ...
  32. Set Forecolor to black or white based on background color of control

    This is sort of connected to an earlier post I made about get the average background color of a control or image. You can find that post here. This one selects the Foreground color (black or white)...
  33. Re: Getting Average Color of Form BackgroundImage

    Amazing isn't it? It still works great!
  34. VS 2010 Re: Fill Textboxes from Listbox item

    Hi, I don't know if it will help, but I found this out on the net.
    https://www.codeproject.com/Questions/1165351/Populate-textboxes-from-the-listbox-selection
  35. Re: Creating a bitmap composite buffer for Icons

    Hi Passel, I don't want to demand any of your time and also, no need for examples. I was merely wanting to know if it looked like I was heading the right direction. But as you pointed out, I know...
  36. [RESOLVED] Creating a bitmap composite buffer for Icons

    *Note to Management... Visual Studio version 2019 is out. I downloaded it this morning. Time to add another version to the prefix drop down :)

    What I'm doing here is based on Passel's suggestion...
  37. VS 2017 Re: How to make new column when drawn Listview items are greater than screen height

    Haha... I'll look at the one liner again and see if it will help for knowing when to change to another column.
    Thanks.
  38. VS 2017 Re: How to make new column when drawn Listview items are greater than screen height

    Hi Tom, you put a lot of work into this. Thank you. But based on your matrix (if I understand it), I want to make sure you know something. There are six sizes of Icons/Pngs. They are 16x16, 24x24,...
  39. VS 2017 Re: How to make new column when drawn Listview items are greater than screen height

    Hello my friend. I don't think I post too much code from the Internet. If I do so, it's usually in the Code Bank where I try to share something with others in the hopes of helping someone. Much like...
  40. VS 2017 Re: Trying to understand the Form Paint Event

    Thanks so much for this. It's a lot of help! I'm sure it will be a great way to do things. Plus I would learn a lot from it. For grins I broke out the Paint Event code and put it into a Sub just to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width