|
The problem has been solved, "it seems there exists a possibility to keep the web browser control from displaying dialog boxes - via property Silent." as suggested by someone else.
Thanx for helping me out
llp00na
|
|
|
|
|
Hi all again
I have edit box, where I display long texts(file paths).
Problem is that I want the user to be able to see the last part of the text displayed in the Edit Box(it is a file name).
How can I do this ?
thank you.
|
|
|
|
|
|
Have a look at the PathCompactPath() and PathCompactPathEx() API functions.
They can convert a long path string like:
C:\path1\path2\sample.txt
to
C:\pat...\sample.txt
so that it fits within your display window.
I Dream of Absolute Zero
|
|
|
|
|
Hi,
I need to know How to Display a SDL Window in MFC Dialog.
It will be helpful to me if any posted some reference code links or some documents related to this .
Thanks in advance
Manjunath S
GESL
Bangalore
|
|
|
|
|
|
SDL means Simple directmedia layer ..
Its a library for multimedia ,with platform indepedent..
Manjunath S
GESL
Bangalore
|
|
|
|
|
I don't think this is feasible (or at least not easily at all). What are you trying to do exactly ? I think this not the right way to handle it.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
Hi,
I need an SDL window on MFC application with buttons .Please Share any information about this ...
Manjunath S
GESL
Bangalore
|
|
|
|
|
Manjunath S wrote: Please Share any information about this
ok, i share this with you, but don't repeat what i'm gonna tell you, it's a very expensive info :
watch this site, it has many many tips about SDL : www.google.com[^]
sincerely,
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
whitesky
|
|
|
|
|
|
Hi
I am trying to call a function of a class present in a MFC DLL from another component. If I am building the total workspace in DEBUG mode then I am going to the appropriate function which I am calling. But If i am building the workspace in RELEASE mode I am not going to the appropriate function, instead it is going to some other function.
I checked with the class pointer through which i am calling the method doesn't change any where but still I am facing the problem.
I need the help immediately.
Waiting for an early reply.
Thanks & Regards
Ramnath Panda
Ramanath Panda
s/w Engg.
|
|
|
|
|
This has to be because of memory allocation/deallocation problem. In debug mode, it is taken care of automatically, but in release mode, we may need to be careful about initializing variables, allocating space, deallocating space, etc. Can you do a debug session and post the code which fails?
|
|
|
|
|
|
Seems that it is the problem withe library u r using!!
Make sure with u r linked with apropriate build of that DLL u r using!!!
means
Debug ver appllication link Debug or Release Version
Release ver appllication should link with Release Version
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|
|
I want to derive a class from CColorDialog in which I need to set the dialog color to black and the Title bar should be removed.
Can anybody give me an example
|
|
|
|
|
like this
<br />
class CMyDialog: public CColorDialog<br />
{<br />
public: <br />
DECLARE_DYNCREATE(CMyDialog)<br />
CMyDialog();<br />
~CMyDialog();<br />
DECLARE_MESSAGE_MAP()<br />
<br />
};<br />
<br />
<br />
---------------------<br />
IMPLEMENT_DYNCREATE(CMyDialog, CColorDialog)<br />
<br />
BEGIN_MESSAGE_MAP(CMyDialog, CColorDialog)<br />
END_MESSAGE_MAP()<br />
<br />
CMyDialog::CMyDialog()<br />
{<br />
}<br />
CMyDialog::~CMyDialog()<br />
{<br />
}<br />
whitesky
|
|
|
|
|
I think u dont need to derive a class from CColorDlg to give a back color
Check Here[^]
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|
|
but i think its better if derived CColorDialog
whitesky
|
|
|
|
|
if he only want to do set color he can do it by defining a simple brush at OnCtlColor function. Why should we take unwanted services for our application.
I think he want to set back color for his dialog. actually the CColorDialog is used fo rcolor choosing purpose naaa? I think we can use it services to get teh color selected. no need to derive a new class.
im not sure whether me and he is talking about same problem
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|
|
he said (I want to derive a class from CColorDialog) and then change text
whitesky
|
|
|
|
|
Hi all
I am working on an app that creates a wizard via the CPropertySheet.
I need to change the displayed pages depending on the answers to questions along the way.
I thought if i called OnWizardNext, and return the dailog identifier
it would work
LRESULT CMyPage2::OnWizardNext()
{
return IDD_PPAGE5;
}
but it doesnt, anyone any ideas ?
si
|
|
|
|
|
You are right and I don't find any problem in your code
Just check if you had add the page corresponding to IDD_PPAGE5 before the property sheet is created.
Regards
Anil
|
|
|
|
|
when im trying to register a OCX im getting following error
"The specified module could not be found".
what may be the reason?
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|