|
Hello
I well understand the mechanism of Double Buffering and find a lot of samples, where text or lines were
drawn over the CDC *pDC, which i also understand.
But is it possible to draw textboxes over a CDC *pDC?
Because in my OnSize function i resize the groupboxes and slide all textboxes via MoveWindow.
I could use a MoveWindow without redrawing an set an Invalidate or Redraw if the view to redraw the entire view with the changings.
But i also need to redraw the groupboxes, so they begin to flicker during moving.
Is it possible to redraw a textbox into a OnDraw(CDC *pDC) Handler?
Thanks for answers
|
|
|
|
|
Do you want to customize EditBox?
|
|
|
|
|
No, i like to draw all components to a ScreenBuffer (textboxes,groupboxes,CStatics,...) then, after
redrawing all controls, the screen should draw one time the ScreenBuffer.
The ScreenBuffer is a copy of the CDC *pDC and lines,texts are drawn into the buffer.
But how to draw a textbox into the buffer
Thanks for your answer
|
|
|
|
|
Hi,
While debugging in VC++, I wish to goto the previous statement? Is it possible ? if so can you please explain. For example if my cursor is at statement 10 and i want to move to statement 9.
Thanks in advance.
|
|
|
|
|
Just click on the cursor at the current position and drag it to the statement from which you want to continue.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi _AnShUmAn_
I tried to click the arrow but even I can not place the cursor on top of the arrow.
Am using VC++ 6.0 editor.
|
|
|
|
|
HI All,
I have to download a file(in binary format) from a remote server.
The problem: The problem is that the firewall will see an HTTP connection and in that stream it will look at the headers and find that it is binary (Content-type: application/octet-stream). This will cause it to assemble the stream on the firewall and inspect it thus stripping the attachments that are in binary form.
Any ideas on how can this be achieved?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I want to check in my VC++ code if a file is blocked. Normally when exe files are transferred over email, they will be blocked.If you go to the property of the file, you will see "Security: This file came from another computer and might be blocked to help protect this computer" and there will be a button to unblock it. I have to programmatically check this case. Is there any API or function that could help me get this information.
Thanks in advance.
Ranjan
|
|
|
|
|
hello everybody sorry to disturb u again
i connect vc++ with mysql
but it gives the error that
Cannot open include file: 'mysql.h': No such file or directory
on compile time
thanks
hi
|
|
|
|
|
I saw your problem morning and searched for it but it seems you didnt get my reply but I think you need to install mysql anyway see www.mysql.com and download section maybe it will be helpful for you.
|
|
|
|
|
how to focus the label box when tab key is moved around it.
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
Hi,
does the TabStop property to TRUE resolves your problem.
Or, without the Ressouce-Manager via ModifyStyle(0,WS_TABSTOP);
Good luck
|
|
|
|
|
And in the continues with baerten use of Ctrl+D for sort number for control when use of Tab Ctrl.
|
|
|
|
|
Hi all,
I have developed an application as an installation in VC++. I am using Visual Studio 2005. I have used Launch Condition Editor for checking whether .NetFramework has been installed or not. If it is installed only, the installation should take place. But, when I am trying to install in a system having .NetFramework also, the installation doesn't work. It returns that the .NetFramework is not installed.
I have referred this link for implementing the check : Support From Microsoft[^]
Can anybody please help me....
Thanks in Advance...
-- modified at 23:28 Monday 7th May, 2007
|
|
|
|
|
If you can't get it to work that way, you could always use this technique.
BTW, your link doesn't work.
Best wishes,
Hans
|
|
|
|
|
how to load bitmap to radio button ,checkbox
|
|
|
|
|
This class shows how to use bitmap.
Best wishes,
Hans
|
|
|
|
|
|
|
How to use error handling techniques in mfc. pls help me
|
|
|
|
|
saisp wrote: How to use error handling techniques in mfc. pls help me
This is a very general question, and you probably won't get much help with it. You need to specify 1) what kind of errors you're talking about (app crash, api failure, compile error?); 2) what kind of handling (e.g., do you want to catch it in the debugger, log it to a file. display a message box?); and 3) when you want to handle the error (during development/debug, when using the app, etc.).
If you are talking about a specific error, then you should include the error text in your post, giving details.
Finally, please note that most of the people here would like very much to help you, so it would be nice to show them some courtesy by taking the time to write out "please" instead of "pls". If you don't have the time to do this, then why should anyone take the time to help you?
Best wishes,
Hans
|
|
|
|
|
Hans Dietrich wrote: Finally, please note that most of the people here would like very much to help you, so it would be nice to show them some courtesy by taking the time to write out "please" instead of "pls".
His ISP charges him for every byte that is transmitted over the network.
"The difficulty lies, not in the new ideas, but in escaping from the old ones."
-- John Maynard Keyes, 1936
|
|
|
|
|
I just finished my meditation, I am thinking positive thoughts.
|
|
|
|
|
i need to cath the memory problem
|
|
|
|
|
saisp wrote: i need to cath the memory problem
If by that you mean you are getting errors trying to access memory, then what you need to do is use the debugger and step through your program. We can't do that for you - there could be many reasons why this is happening, most of them involve pointers. Learn the debugger, it is your friend.
Best wishes,
Hans
|
|
|
|