|
No. See here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
kk.in wrote: CMimeMessage
Google[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
|
that be a bit vague mate.
You say you created a windowless control that flickers too much?
I'm assuming the control is doing a timer for you and it triggers your
drawing code...
make sure your code does not do an erase background;
next, you may need to double buffer the drawing;
need more to help more..... the timer is not the issue, it's your drawing
technique. There are a zillion articles on this topic.
Charlie Gilley
Will program for food...
Whoever said children were cheaper by the dozen... lied.
Yeah, whatever....
|
|
|
|
|
Anil K P wrote: But at the same time when I change the GetControlFlags to windowless I get the flickering.
is it atmost necessary to create the windowless control!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Ok
This happens bcos when I tes the activeX control in VB during the design time there is flickering. But At the same time when this application is run there is no flickering. Its just great.
Regards
The Best Religion is Science.
Once you understand it, you will know God.
|
|
|
|
|
Hi,
I have done report genaration project in vc++.
when i execute it in my system nothing to problem but, when i execute in other machine my application will be closed automatically while i save the content from the window into file only on the desktop and when i have to open that saved file.
|
|
|
|
|
Maybe posting code will help.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
What is that your project is doing exactly?
are you using CFile class?
|
|
|
|
|
yah,
i have to show some data on the window from database and save that data into file. I just found out that it only crashes when the files are on the desktop.That is when i try to open the file on desktop using CFileOpendialog, my application going to closed.
But that file placed on any other drives like(c:,d:,..), nothing to worry, it will execute successfully...
Thanks in advance
|
|
|
|
|
Murugan k wrote: ...save the content from the window into file only on the desktop and when i have to open that saved file.
Is this part of your application's functionality?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
yah,
i have to show some data on the window from database and save that data into file. I just found out that it only crashes when the files are on the desktop.That is when i try to open the file on desktop using CFileOpendialog, my application going to closed.
But that file placed on any other drives like(c:,d:,..), nothing to worry, it will execute successfully...
Thanks in advance
|
|
|
|
|
If you know it crashes when files are on the desktop, can't you put files on the desktop and
debug the program?
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
hi murugan.,
I'm also facing the same problem..
even my friend also trying to resolve that problem...
if you got any valuable solution
let me know...
bye ...
|
|
|
|
|
Hi,
i want to minimized my application when i clicked (two times) on task bar... do you know the message?
thanks
Giulio
ps. the message isn't WM_NCDBCLICK, WM_NCLBUTTONDBLCLK.
|
|
|
|
|
you can use WM_NCLBUTTONDBLCLK to close the application by adding oncancel(); in the function.
|
|
|
|
|
but i don't want to close the application... when i find the message i want only minimized...
do you understand?
Raiz<
|
|
|
|
|
you can use WM_NCLBUTTONDBLCLK and add oncancel() in the function it will work.
|
|
|
|
|
vimarsh puneet wrote: you can use WM_NCLBUTTONDBLCLK and add oncancel() in the function it will work.
hi.. what would you achieve in that!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
What part of the task bar are you double-clicking on? If you click your app on the taskbar it
will minimize - click it again it will restore, right?
Or are you referring to something else?
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
ok.. the app with standard dialog frame minimize and restore if i click on taskbar(my application), but i want a custumize application without dialog frame...
now do you understand??
thanks...
giulio
|
|
|
|
|
Ing.Raiz82 wrote: i want to minimized my application when i clicked (two times) on task bar... do you know the message?
have you check what WM_SYSCOMMAND contain for it!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Hi,
I have an exe which is created with document view architecture and developed in VC6.It has dependencies also.Now I want to convert the whole application into a service.I should not create a service and invoke the exe from the service. I need to redesign the whole application so that it becomes a service.
How should i go for that?
Should i use .net or VC6 itself? I'm planning to use VC6 itself bcoz it has many dependencies which are in vc6 and uses 3rd party dlls also.
If using VC6, should i create using ATL COM appwizard -> Service.exe or simply create a cpp file for service?
Thanks & Regrads,
Sanju.
|
|
|
|
|
Well I think I can't really help you that much, but I also created a service some time ago.
And I know that a service has to be created as a win32 console application, so I am wondering of how your application can work as a service (because it uses document/view architecture and consists therefore of a GUI).
Because of that I think that you have some core logic in your application that works without a GUI. So you have to create a new console application for your service and put your "real" logic into that service. You can then rebuild your MFC app to access the logic in the service as a frontend (compare e.g. MSSQL Server: The "real" MSSQL server runs also as a service, but there exists also a frontend by which you can control this service).
VC6 is very old now, and I would suggest to start every new project with a newer version. But because this is an older application and you use many other third party libraries for VC6 I would suggest to stay to VC6, just because then you maybe don't have that much problems...
|
|
|
|
|
Hi,
Thank u all for ur replies.
Thanks & Regards,
sanju
|
|
|
|