Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Sample ShowDialog
Started by harish@axsys-healthtech.com at 08-27-2008 0:58. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  08-27-2008, 0:58
harish@axsys-healthtech.com is not online. Last active: 7/30/2008 11:26:50 AM harish@axsys-healthtech.com

Top 500 Posts
Joined on 04-27-2005
Posts 10
Re: Sample ShowDialog
Reply Quote
Hi,

I am trying the following code in my project, but it is not working.

LTMMCapture.ShowDialog ltmmCapture_Dlg_Capture, hwnd

Ths same piece of code is working fine in the sample application provided by the SDK
(LEADTOOLS14\Examples\ltmm\vb\capture).

Can you please let me know any properties I need to set prior to call this showdialog method.

Regards,
Harry

   Report 
  08-27-2008, 5:09
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: Sample ShowDialog
Reply Quote

Harry,

Can you tell me the error message that you are getting?
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  08-27-2008, 8:02
harish@axsys-healthtech.com is not online. Last active: 7/30/2008 11:26:50 AM harish@axsys-healthtech.com

Top 500 Posts
Joined on 04-27-2005
Posts 10
Re: Sample ShowDialog
Reply Quote
I am not getting any error message.
I tried in other way. First i started capturing video on the control, then i called, this showdialog method. It started working.

Can't I call the showdialog method when control is not connected any device.

Another thing i would like to ask is that,
When I will be able to see dialog for

LTMMCapture.ShowDialog ltmmCapture_Dlg_VideoSource, hwnd

and

LTMMCapture.ShowDialog ltmmCapture_Dlg_VideoDisplay, hwnd

In sample applications also they are disabled.

Regards,
Harish
   Report 
  08-27-2008, 10:16
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: Sample ShowDialog
Reply Quote

Harish,

You must select a device before calling the show dialog. You do not have to start capturing but a device must be selected first.


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Multimedia » Re: Sample ShowDialog

Powered by Community Server, by Telligent Systems