Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Letting user pick Codec
12-13-2011, 02:16 AM
Post: #6
RE: Letting user pick Codec
Not knowing doesn't make anyone an idiot Smile

Anywho, instead of Memo's let's use 1 or 2 ComboBoxes. Set style to DropDownList, you may want to increase the DropDownCount as well.

In the FormShow event (for example) put:
VLDSVideoLogger1->AudioCompression->GetCompressorList(ComboBox1->Items);
VLDSVideoLogger1->VideoCompression->GetCompressorList(ComboBox2->Items);

In the ComboBox2->OnCloseUp event put:
TVLDSVideoCompressionItems *CompItems;
TVLDSVideoCompressionItem *CompItem;
CompItems=VLDSVideoLogger1->VideoCompression->Compressions;
CompItems->Clear();
CompItem=CompItems->Add();
CompItem->Compressor=ComboBox2->Text;

This is just A way to make it work, hope it gets you on your way.

Dave
Quote this message in a reply
Post Reply 


Messages In This Thread
Letting user pick Codec - BReeves - 12-12-2011, 02:01 AM
RE: Letting user pick Codec - Dave - 12-12-2011, 02:15 AM
RE: Letting user pick Codec - BReeves - 12-12-2011, 02:25 AM
RE: Letting user pick Codec - Dave - 12-12-2011, 03:23 AM
RE: Letting user pick Codec - BReeves - 12-12-2011, 10:30 PM
RE: Letting user pick Codec - Dave - 12-13-2011 02:16 AM
RE: Letting user pick Codec - BReeves - 12-13-2011, 04:02 AM
RE: Letting user pick Codec - Dave - 12-13-2011, 04:13 AM
RE: Letting user pick Codec - jTejada - 01-15-2012, 11:40 PM
RE: Letting user pick Codec - BReeves - 12-13-2011, 08:58 PM
RE: Letting user pick Codec - Dave - 12-13-2011, 10:22 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)