|
how to increse tabs in tab control at run time .plz hlep me.
|
|
|
|
|
prathuraj wrote: increse tabs in tab control
If you want to add tabs, then look CTabCtrl::InsertItem(..)
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
i want to increase tab at runtime along with dialog also
|
|
|
|
|
prathuraj wrote: runtime along with dialog
Create instanse for the dialog class and use it..
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
hi
I have one MFC drawing application.Now I want to set that exe in openwith list of .bmp
file.
I want when I doubel ckick on .bmp file it should be open in my application.
can any body help me?
Thanks,
Rushiraj
|
|
|
|
|
This[^] link should help you.
[Edit]
I re-read your post. I guess, link provided by will help you only partialy.
[/Edit]
|
|
|
|
|
Please refer this[^].
Hope this will help you.
Regards,
Paresh.
|
|
|
|
|
|
toxcct wrote: The Complete Idiot's Guide to Writing Shell Extensions - Part I[^] by Mike Dunn. don't hesitate to read the other articles of the series
I wonder, if OP's issue addressed in any of them. Where as link given in Paresh's reply(previous to yours) seems to be appropriate.
|
|
|
|
|
why doesn't it ?
Shell Extensions can associate a program to a file type... and that's what the OP's looking for, no ?
|
|
|
|
|
toxcct wrote: why doesn't it ?
I said, I could not find such article in that series.
toxcct wrote: Shell Extensions can associate a program to a file type... and that's what the OP's looking for, no ?
If you look at link given by Paresh(in reply previous to you), I think, this is what he is looking for.
|
|
|
|
|
Hi
Im using ADO and Datagird to add,edit,delete the contents in database.
How to print the values in Data Grid,
If any one knows the sample code link.Pls proivde me..
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
how to create a tree control. i need a sample program to develop a tree with a parent with three child. how to do this.pls help me
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
|
Have you tried to search CP[^] before posting question ?
|
|
|
|
|
VS2005:
CString m_strMessageBox;
.............
void CHelloDialogDlg::OnBnClickedOk()
{
UpdateData(TRUE);
AfxMessageBox(m_strMessageText);
}
No any error,But when I click the button,the MessageBox cannot show the string m_strMessageText.
Thank you for help!
|
|
|
|
|
well i didn't see any value of the m_strMessageText in the code.
|
|
|
|
|
well,It's the variable of a Edit Control,and i input a string into the control
|
|
|
|
|
Does UpdateData() return TRUE?
Have you set a breakpoint in your DoDataExchange() function to check that the string is being set from the edit control?
Have you set a breakpoint before the message box is called to see what the value of the string is?
You should try some basic debugging - it's the best teacher
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
"You should try some basic debugging - it's the best teacher"
that's right!!!!;)
|
|
|
|
|
Have you entered in the message in message map BEGIN_MESSAGE_MAP END_MESSAGE_MAP
Regards,
Paresh.
|
|
|
|
|
call UpdateData(FALSE) instead UpdateData(TRUE)
void CHelloDialogDlg::OnBnClickedOk()<br />
{<br />
UpdateData(FALSE);<br />
AfxMessageBox(m_strMessageText);<br />
}
-- modified at 1:35 Thursday 29th March, 2007
Zo.Naderi-Iran
|
|
|
|
|
zon_cpp wrote: call UpdateData(FALSE) instead UpdateData(TRUE)
To retrieve data from the control we have to pass TRUE, so UpdateData(TRUE) is correct.
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
Yes, i mistook.
excuse me
Zo.Naderi-Iran
|
|
|
|
|
No prob, every body do mistake .
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|