Search results for query: *

  1. L

    Graphics overlap avoiding transparence

    I made this another way, so basically I'm posting here the code hoping it can help. What I wanted to achieve (and I did) is the highlighted region to "blink" and not get undone by "double drawing" as i mentioned in the post above. What I changed in this, also, is the fact it no longer blink but...
  2. L

    Set desktop wallpaper

    Usually documentation doesn't help so much...still, sometimes the links provided by Skydiver here are very useful! Don't worry though, I just asked, maybe some of you already worked with this and had a proper answer right away, just that...
  3. L

    Set desktop wallpaper

    I don't know at all XD as I said, I found it online and it's out of my knowledge! Also, I don't even know how those variables are actually used. I suppose the first 3 instructions are what does the work but who knows...?
  4. L

    Set desktop wallpaper

    Yes it does, i set a folder of pics to use.
  5. L

    Set desktop wallpaper

    I'm willing to fix an application i made. Basically, it sets the desktop wallpaper on windows (i'm on Win10). The only issue is when Windows restarts the wallpaper is gone and it's just black. I'm no expert and I found this code online. I'm wondering if some of you could know how to fix that...
  6. L

    Check if a menustrip is highlighted/selected

    I found another solution. I posted earlier another answer with some questions about your code, but in the end i found a "simple" solution (not elegant maybe as yours, but still it's cheap and works). //inside partial class Form1 : Form //also, remember i use my method to check when i'm on dark...
  7. L

    Check if a menustrip is highlighted/selected

    Still, there's another issue I'm having....the selected property works fine while navigating the menus. on mouse enter/leave i scripted a check to set the forecolor for every menu item (if selected, forecolor black, else white). but if the mouse moves out on the form, this doesn't work properly...
  8. L

    Check if a menustrip is highlighted/selected

    I almost jumped up for the "shock".............I checked the properties earlier and I completely skipped that, more than that I'm surprised I found nothing googling that! Thanks man!
  9. L

    Check if a menustrip is highlighted/selected

    I'm handling colors for menustrips, so, since i have a black list with white text, when an item is selected it turns azure-ish. My problem would be to read the text inside, since it's white. While you can solve this using Mouse_Enter and Mouse_Leave, this problem remains when you get to an...
  10. L

    Controls forecolor and text size glitch/issue

    Nice enough. Doesn't keep the text identical, since it tends to need still more space (blank space hides the second part of the text, probably because it overflows), but since it's a matter of pixels I can get around that enlarging the boxes as much as needed. (consider many controls and such...
  11. L

    Controls forecolor and text size glitch/issue

    I'm working on a setting for my app to change color for the controls (basically, i want to create a dark theme). I'm almost done with it but I noticed this issue. I'm changing the comboboxes draw mode from Normal to OwnerDrawFixed so I can change the backcolor and forecolor. Changing Draw Mode...
  12. L

    Prevent button flatstyle from changing color behavior

    I tried it. I changed the code like this in lighttheme(): for (int i = 0; i < pulsantisvuota.Count; i++) { pulsantisvuota[i].BackColor = DefaultBackColor; //while doing some research I thought about turning back to default color...
  13. L

    Prevent button flatstyle from changing color behavior

    .net framework. The code is simple. i have a list of buttons and i go through it with a loop. private void lighttheme() { for (int i = 0; i < pulsantisvuota.Count; i++) { pulsantisvuota[i].BackColor = Color.FromArgb(225, 225, 225)...
  14. L

    Prevent button flatstyle from changing color behavior

    Is this even a serious answer? Don't waste my time, please.
  15. L

    Prevent button flatstyle from changing color behavior

    ? I'm not sure i understand your question. I want to change the colors to dark and then reset them to the default. But when i do, they do not behave as they did by default.
  16. L

    Prevent button flatstyle from changing color behavior

    I'm creating a form app. I'm willing to create a different theme (dark) so I made some tests for the buttons and found out it would be good to change the flatstyle to popup for the dark theme. The dark theme is ok. The problem is if the button is disabled, when I change it back to standard, the...
  17. L

    C# declare empty string[ ][ ] (array of arrays)

    Yeah, actually that's what I usually do, because first I have the idea of what to do, then, when I have the concept in my mind I start creating it. My problem is exactly some rare times my concepts are simple, but they're not so simple to create. For now, since I couldn't come up with anything...
  18. L

    C# declare empty string[ ][ ] (array of arrays)

    Ok no, I'm already stuck now that I'm trying and the matter is simple: if I want to add something to a List, I must know what I'm adding, but that is (in my case) a cyclical number of elements. I mean how can I have a Z number cycle (for int Z=....) and say List.Add(Zarray)? I should create a...
  19. L

    C# declare empty string[ ][ ] (array of arrays)

    Nice idea, I didn't consider the List! I'll try it right away! Also, if this works, it will be like "again, they helped me here and StackOverflow wasn't able to help me at all!", which is fine since you helped me a lot also in the past!
  20. L

    C# declare empty string[ ][ ] (array of arrays)

    Hello there, my question is simple as that. I need to declare an array of arrays which are all strings, because I need to creare some sort of "grid". I'm importing a text file with a variable number of rows, but each row will have 4 values separated by ||, (so my idea would be to use a text...
Back
Top Bottom