Thread: WDL-OL
View Single Post
Old 04-23-2012, 09:12 AM   #75
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

I am not sure, but this works in my own WDL, so it might also work in WDL-OL:

Code:
odialog1 = new IFileSelectorControl(this, &IRECT(0, 0, 100, 100), kOpen1, &bitmap, IFileSelectorControl::kFileOpen, "", "wav");
pGraphics->AttachControl(odialog1);
I.e. replace IGraphics::kFileOpen with IFileSelectorControl::kFileOpen.
Tale is offline   Reply With Quote