|
Hello Mr.ramyasangeet,
i am a fresher in vc++.
i need to display local video from webcam and remote video in iexplore
i have displayed in mfc dialog boxes.
i belive that u can help me.
can u tell me the steps to generate active x?
thanks in advance?
JAYARAJ
|
|
|
|
|
Hi
I have created the dialog based applications.I have one dialog and six child dialogs. My mainDialog is having three buttons on click of them all the three dilaogs are visible . Now I want to show the fourth dialog which will be displayed from the the third dialog when it's Notify function is called.
Any kind of help is appreciated.
Cheers
"Peace of mind through Technology"
|
|
|
|
|
If I understand you correctly. You want to create a new dialog (dialog 4) when a WM_NOTIFY is sent to (diaolg 3) but all of your dialogs are childs of your main dialog (dialog main)?
You can use PostMessage from the WM_NOTIFY of dialog 3 to dialog main, passing a WM_APP (WM_USER) message. Though this will not work with Modal dialogs.
|
|
|
|
|
You have understood teh problem corrctly but All of my dialogs are Modal.
So is there any solution to it.
I look forward to your reply
Cheers
"Peace of mind through Technology"
|
|
|
|
|
They are all Modal? I didn't think it was possible to create more than one modal child dialog since in effect the parent is halted waiting for the child dialog to finish.
Maybe somebody else could help you more. You may also want to take a look at using threads.
|
|
|
|
|
Anyway thank you for your suggestions.
Cheers
"Peace of mind through Technology"
|
|
|
|
|
How can we return from the fourth dialog to the Main Window.
Cheers
"Peace of mind through Technology"
|
|
|
|
|
waldermort wrote: They are all Modal? I didn't think it was possible to create more than one modal
he can't, unless a child dialog create another child modal one...
|
|
|
|
|
Hi
Please help me to display extended ascii characters on the dialog say a Lavel Control.
Regards
Anil
-- modified at 23:27 Tuesday 28th March, 2006
|
|
|
|
|
what do u mean "to diplay"? draw or in edit-box?
A nice hyper tool for optimizing your Microsoft html-help contents.
A best image tool for Windows C++ programmers, don't miss it!.
Includeh10
|
|
|
|
|
I want the Lebel control to be set of Extended charactes.
Suppose I want to display a square root symbol. Then I want to use the Label control which can able to display Exteneded ascii character 251.
Regards
Anil
|
|
|
|
|
Try setting the default value of a static / edit control to "\373" (251).
|
|
|
|
|
Thanks for your suggestion.
Can you explain me a little what actually happening by writting in the above format.
I am using Japanese Double byte OS. So getting some problem in finding the actual character I need. But it seams it will work.
Regards
Anil
|
|
|
|
|
Unless you can find a font that contains the character you are interested in, this will not work.
Try 'Fixedsys' or 'Terminal' - these are 'OEM' fonts and should contain extended ascii characters.
James
http://www.catch22.net
|
|
|
|
|
Thanks RYan ,
It helped
Just for learning purpose.
How to achieve it with AfxMessageBox using SetWindowsHookEx
and hook procedure?
How to subclass AfxMessageBox window to main window in the hook procedure and then how to to resize it. (please refer my code).
Thanks,
lEE
|
|
|
|
|
Can any one help me to get a source code for converting a html file to an ASCII file.
|
|
|
|
|
swarnamanoo wrote: Can any one help me to get a source code for converting a html file to an ASCII file.
AFAIK, HTML file is itself type of ASCII file!, do you want to change the format!
|
|
|
|
|
html file (English version) is ASCII file.
A nice hyper tool for optimizing your Microsoft html-help contents.
A best image tool for Windows C++ programmers, don't miss it!.
Includeh10
|
|
|
|
|
I want a converter sample which converts html data to txt file.
|
|
|
|
|
Can't you simply write a small app that removes everything contained between < > ?
~RaGE();
|
|
|
|
|
<blockquote class='FQ'><div class='FQA'>swarnamanoo wrote:</div>I want a converter sample which converts html data to txt file. </blockquote>
Let m_strHtmlData of type CString Contain all the your HTML data, this small piece of code will help you to remove html code from that data and pFP is file pointer of destination ASCII File
// vector<TCHAR> vecChar;
BOOL bRecFlag=TRUE;
for(int iCount=1;iCount<m_strHtmlData.GetLength();iCount++)
{
if(m_strHtmlData.GetAt(iCount)==_T('<'))
bRecFlag=FALSE;
if(m_strHtmlData.GetAt(iCount)==_T('>'))
bRecFlag=FALSE;
if((bRecFlag)&&((m_strHtmlData.GetAt(iCount)!=_T('>'))&&(m_strHtmlData.GetAt(iCount)!=_T('<'))))
_fputtc(m_strHtmlData.GetAt(iCount),pFP);
}
|
|
|
|
|
ThatsAlok wrote: BOOL bRecFlag=TRUE;
for(int iCount=1;iCount<m_strhtmldata.getlength();icount++)
{
="" if(m_strhtmldata.getat(icount)="=_T('<'))
" brecflag="FALSE;
">'))
bRecFlag=TRUE;
if((bRecFlag)&&((m_strHtmlData.GetAt(iCount)!=_T('>'))&&(m_strHtmlData.GetAt(iCount)!=_T('<'))))
_fputtc(m_strHtmlData.GetAt(iCount),pFP);
}
~RaGE();
|
|
|
|
|
Rage wrote: if(m_strHtmlData.GetAt(iCount)==_T('>')) bRecFlag=TRUE;
ooops
|
|
|
|
|
The last time I checked, HTML was text. Exactly what is it that you are trying to accomplish?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: Exactly what is it that you are trying to accomplish?
Remove the HTML tags, we guessed. From <b>this is bold</b> only get "this is bold".
~RaGE();
|
|
|
|