|
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
|
|
|
|
|
|
If it's a true fisheye with 180 degree FOV, conversion to rectilinear would result in an infinite image. If you want to convert a segment cropped from the fisheye image, first you need to know the projection used by the lens. Equisolid angle and equidistant projections are the most common. You can get the projection equations from http://www.root.or.jp/fit/pages/gyogan_eng.htm[^] or http://www.lce.hut.fi/~jkannala/Kannala_Brandt_ICPR2004.pdf[^]. Then reverse the fisheye projection and apply the normal perspective projection instead.
|
|
|
|
|
I'm wondering what's the usage of the following "tagHELLODATA". Is it for reference inside structure declaration? Can anybody gives me a example?
Thanks
typedef struct tagHELLODATA
{
UINT iColor ;
COLORREF clrText ;
}
HELLODATA, * PHELLODATA ;
|
|
|
|
|
Hi,
That is nothing but a tag/name of the class.Here
HELLODATA data; //creating object-data of type: struct tagHELLODATA
if we refer the structure via typedef struct pointer:
PHELLODATA ptrToHD; //struct tagHELLODATA* ptrToHD
-Rajan
|
|
|
|
|
That's the actual name of the structure. You can skip that in the declaration, IIRC. One place where you need it is if you need a reference to the struct from within the struct itself (for eg, a Node in a list).
typedef struct tagNode
{
struct tagNode *next;
}Node;
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
AFAIK, the tagHELLODATA is not strictly necessary here. In this case, declaring a variable
HELLODATA foo; has the same effect as declaring it like so:
struct tagHELLODATA foo; . I believe you can dispense with the tagHELLODATA , changing the declaration to
typedef struct
{
UINT iColor;
COLORREF clrText;
}
HELLODATA, * PHELLODATA; should not cause any adverse effects.
Joel Holdsworth
Wanna give me a job this summer?
Check out my online CV and project history[^]
|
|
|
|
|
The best way to explain is by example:
Lets say I want to have a structure called BOB that I want to use in both C and C++.
In C++, I can do the following:
struct BOB { int a };
and then to use BOB I just say:
BOB myVariable;
In C, if I do the following:
struct BOB { int a };
I have to say:
struct BOB myVariable;
So, in order declare a variable in C like you would in C++, people did the following:
typedef struct tagBOB { int a } BOB;
Now in C you can do "BOB myVariable".
Since windows h files are for both C and C++, you still see the "tag" stuff for C which doesn't hurt C++.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Hello,
I writes a MFC application with VS 2003. A part of application uses a MFC-extended DLL.
This DLL was written with VisualStudio 6.x. Now I have a silly problem that when I debug my application (with the debug-version DLL), the debugger fails when I access the the DLL. If I compile the DLL with VS 2003 everything works well.
Does it make a difference with which version of VS the DLL is compiled?
Applies this problem only to Mfc dlls?
many thanks...
|
|
|
|
|
|
Hi all!
I am developing an application using MSMQ and i want to send a recordset object using it. now my problem is how can i fetch all records in an recordset object. I have using ODBC and my database server is Microsoft SQL . Whenever I open recordset, i want that whole recordset will assign to an object.
Is there any way I can ensure that all records from a record set will assign to an object ?
Any help would be greatly appreciated!
Thanks,
Rajan
|
|
|
|