Ok, this makes NO sense to me here. This was working fine until I added code to my form load event to use BitBlt to paint the form background. I have a command button called cmdtoggle. Here is the code I have on it.
VB Code:
  1. Private Sub cmdtoggle_Click()
  2. If cmdtoggle.Caption = "Show Playlist" Then
  3.     ListView1.Height = 4215
  4.     cmdtoggle.Caption = "Hide Playlist"
  5. Else
  6.     ListView1.Height = 6855
  7.     cmdtoggle.Caption = "Show Playlist"
  8. End If
  9.    
  10. End Sub

The button caption says "Show Playlist" by default on startup. Somehow it gets confused and changes between the Show & hide button captions just fine, but it goes haywire on setting the height of listview1. When you click the button, it makes the listview height somthing that goes off the bottom of the screen. Any ideas? Thanks in advance.