I'm trying to duplicate a listbox I saw in another application. It
looks like this:

Views: 703
Size:  68.9 KB

The listbox is hidden until the ownerdrawn pushbutton is selected. So
far so good, but my listbox is displayed only up to the edge of the
dialog box which means it shows only two lines and doesn't extend into the
desktop area. I'd expect this default behavior due to the OS clipping
applications so they aren't overwriting one another.

But how did the original dialog get around this? I tried a few options
with WS_CLIP... SetWindowPos(HWND_TOPMOST... and also creating the
listbox at INITDIALOG time and have the parent be the desktop, but
so far it displays just the two lines. Any idea on this?