Results 1 to 36 of 36

Thread: [RESOLVED] Show a transparent PictureBox over a ListBox Help!

Threaded View

  1. #16
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: Show a PictureBox transparent over a ListBox Help!

    Quote Originally Posted by boops boops View Post
    or turning to the far more versatile WPF.
    Actually this is dog easy to do in WPF. Literally two lines of XAML:-
    Code:
        <Grid>
            <ListBox x:Name="lb" Grid.Column="0"/>
            <Image x:Name="img" Grid.Column="0" IsHitTestVisible="False"/>
        </Grid>
    Nothing special had to be done. You just put an Image control on top of a ListBox and you're done:-



    Last edited by Niya; Jan 29th, 2022 at 09:28 AM.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width