|
|
Bob Stanneveld wrote:
The PropertySheet doesn't have a 'Aplpy' button.
Is it supposed to have one or did you remove it on purpose?
Bob Stanneveld wrote:
The property pages contain information that need to be verified when the user clicks the 'Ok' button.
This is a bad approach. Do not enable the OK button if invalid data exists.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
DavidCrow wrote:
Is it supposed to have one or did you remove it on purpose?
I removed it on purpose, since the property sheet isn't really an options dialog. No options can be 'applied' to the program, but need to be set before starting a sub process.
Thanks for your reply. I solved the problem using the OnApply method (this is even called though it does not have an apply button). I rather give a fault summary when the user submits data than handling every notification and verify the data individually.
I also got the blogging virus..[^]
|
|
|
|
|
|
|
How can I close a dialog in OnInitDialog. I need this because some checks where made in this function. If the check fails I need to cancel the dialog creation...
Thanks ...
|
|
|
|
|
|
You could simply make a call to CDialog::EndDialog(IDCANCEL)
Joel Holdsworth
Wanna give me a job this summer?
Check out my online CV and project history[^]
|
|
|
|
|
Call EndDialog() with a value indicating that initialization failed. Using IDCANCEL is a bit misleading.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
I would advise you analyse the logic of your program. For me, the situation is like this: the dialog should not be displayed at all if the validation fails. Consequently the DoModal() should not be called at all.
|
|
|
|
|
If DoModal() is not called, then the dialog's OnInitDialog() method will not get called, which is where the initialization is taking place.
If it's actual validation that is taking place in the OnInitDialog() method then you are right, it should be done outside of the dialog.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
|
I can move the bitmap image by using the keyboard keys .
Problem#1.
i could't select which image to move,selection is made by default the last image it loads.
Problem#2.
when i move the image the painting is made along the previos thing it has painted.But when i minimize the window the problem will be solved .
I have made function call Invalidate() from On_KeysDown ().
How could i solve those Problems?/
Will any body help me please??
With lots of hope.
hprasain
|
|
|
|
|
I am unable to load two or more BItmap image in Custom HyperLink Control,
I have made by own custom cotrol by inherating CWnD:: .If i load two image too but when ever i minimize the window only the later bitmap remain.
Will any body help me please??
with lost of Hope...
hprasain
|
|
|
|
|
Inteface name of Internet explorer is IExplorer.
Do you know Inteface name of Windows explorer?
includeh10
|
|
|
|
|
|
What do you mean by "Interface" name? Do you mean a COM interface, or a name of the exe/process? Can you clarify?
Joel Holdsworth
Wanna give me a job this summer?
Check out my online CV and project history[^]
|
|
|
|
|
includeh10 wrote:
Inteface name of Internet explorer is IExplorer.
This interface does not ring any bells, but in any case, Internet Explorer has many interfaces, depending on what you want to do.
includeh10 wrote:
Do you know Inteface name of Windows explorer?
A few that come to mind are:
IShellView
IShellFolder
IShellBrowser
IShellDetails
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Any exe files that have been created using visual studio dot net cannot be run in my desktop which does not have visual studio.net .. finally i installed dot net frame work 1.1 on my computer but still it does not work..
it says common language runtime debugging services
an exception was throen that could not be handled
can anyone say how do i make those exe run in my computer..
sanjay
|
|
|
|
|
What version of Visual Studio .NET are you using? 2002 or 2003?
John 3:16: "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."
|
|
|
|
|
we'll i have built the exe using .net2003 at my office but my home computer has only visual studio 6.0
sanjay
|
|
|
|
|
Hmmm... To be honest, I am not sure. If this project of yours is written in Managed C++, then I suggest that you try posting about your problem in the Managed C++ forum and see if someone looking there might be able to help you. Best wishes.
John 3:16: "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."
|
|
|
|
|
I am having trouble while handling the keybord control in my project. Can anyone suggest me, how to handle Keyboard control. I want to display two images in a static control and handle them using keyboard.
Ashoka
|
|
|
|
|
|
i am a newbie in this field..
does anyone know how to convert a fisheye lens image to rectilinear image using openCV or in visual c++.... any algorithms u know or any other information can be of immense help to me
thanks...
sanjay
|
|
|
|