|
kind_person wrote: "no matching symbolic information found" against kernel32.dll and gdi32.dll.
That is normal, don't pay attention on that.
kind_person wrote: "Unhandled exception in PracticeINI2XML.exe(KERNEL32.DLL): 0xe06d7363:Microsoft C++ Exception. "
Ok, but in which file is the problem occuring ? Try to use the debugger correctly, that is setting breakpoints (F9) at precise points of your program. You said that this error hapenned when you press a button then you can put a breakpoint in the function and go step by step in the program to see where it crashes. You could also post HERE the code of the function (only the code of the funcion and using the code tags).
And please, don't send private mails with source files as I don't have Visual studio installed on my computer. So I cannot test your program. You'll have to be more precise in your question (I cannot go into all of your files and read everything).
|
|
|
|
|
Hi
I have developed the dialogbased MFC application and in that I want to print a text a marquee. i.e it scrolls from right to left horizontally.
For this i have used a timer control and on every few ticks I am showing my text by TextOut() functions at one pixel or few pixels ahead of last time.
But here when I use large font size i.e of 200 or like that, it gives me more flickering.....and also it moves bit slowly....is there a way to remove flickering and moving text fast....
Thankx in advnce
Amarelia Maehsh
Gujarat
India
|
|
|
|
|
Amarelia wrote: For this i have used a timer control and on every few ticks I am showing my text by TextOut() functions at one pixel or few pixels ahead of last time.
This the problem. I suggest you should use some backbuffering here. This needs two draw spaces : One that is displayed, and one on which you draw your text, and you swap them "every few ticks".
For this, I recommand showing at CMemDC (search for this on Codeproject).
~RaGE();
|
|
|
|
|
First of all since you are using a dialog base application, I suggest you not to use DrawText. Rather you can use any Level control to put display the text. And you can Invalidate the Level control in regular interval.
|
|
|
|
|
Hi
I am not able to change the color of scrollbar in my window.
I tried with WM_CTLCOLOR and WM_CTLCOLORSCROLLBAR.
Can any one help me in the same.
Cheers
|
|
|
|
|
Have you tried with NM_CUSTOMDRAW. There is a article about costom drawing controls
|
|
|
|
|
I am getting some unknown errors with string length function.
|
|
|
|
|
Please, be more specific.
What's the error? What does your code look like?
What kind of "string" are you referring to?
|
|
|
|
|
are u talking about CString::GetLengt() ?
--[v]--
|
|
|
|
|
i don't think so... it is much either standard c++ std::string::length() method or managed C++ String.Length() one... but as the question is not clear...
the guy have to ask again his question !
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote: the guy have to ask again his question !
Mmhhh, a question ? Where did you see a question ?
|
|
|
|
|
let me see : "I am getting some unknown errors with string length function."
oh, you're right Cedric... !!
toxcct wrote: the guy have to ask again his question !
the guy have to ask again his question !
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
you really have a lot of fun here.
--[v]--
|
|
|
|
|
|
whenever i think of u i guess a charming face. (though u may look ugly;P). i always intend to play with u. nothing serious at all man. and what happend to the other cool guy alok.. he's not around today?
He is like a one-legged man in a bum kicking competition. -Novjot Sidhu
--[v]--
|
|
|
|
|
VivekuniQ wrote: what happend to the other cool guy alok
Alok ? he may have some work today...
VivekuniQ wrote: i always intend to play with u.
but don't worry, i was joking too
VivekuniQ wrote: though u may look ugly
thank you
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
I am trying to create an application where I need to get the email before it reaches to outlook express.
I am unable to find any decent knowledge base in regards to TDI filter.
Please let me know whats the way ahead.
Thanks
|
|
|
|
|
how zero byte WSARecv can unlock buffers that we have allocated?
zubair
|
|
|
|
|
I'm trying to send key presses to another application in Windows. I'm getting the HWND using FindWindow, posting the events using PostMessage. Normal WM_KEYDOWN and WM_KEYUP events are working perfect. However, I need to be able to handle combo's like Ctrl-S, etc.
::PostMessage(wnd, WM_KEYDOWN, VK_CONTROL, 0);
::PostMessage(wnd, WM_KEYDOWN, 0x41, 0);
::PostMessage(wnd, WM_KEYUP, 0x41, 0);
::PostMessage(wnd, WM_KEYUP, VK_CONTROL, 0);
But that doesn't seem to work.
Thanks for any advice offered.
|
|
|
|
|
Try and use SendInput API.
~RaGE();
|
|
|
|
|
I got a base-class derived from CDialog. There are multiple dialogs derived from that base-class.
All dialogs that derive from that base class have to do some special handling while they are the top-most dialog. From the moment a new dialog is started from within the derived class , that handling has to stop, and start again when the new dialog ends.
So my question:
How can I know in the base-class dialog when a new dialog was started (by the derived class), and when that new dialog was ended?
Greetings,
Davy
|
|
|
|
|
Overwrite Create in base class...
NG
|
|
|
|
|
Thx for the reply. But that won't do.
The new dialog that is started isn't necessarily derived from that special base-class dialog...
|
|
|
|
|
Simply send a custom message in the derived dialog to the base-class dialog.
~RaGE();
|
|
|
|
|
Hello
How a control can know which other controls are present in the container?
Like a edit control in VB can know if there is a Database control and attach it to it in the property browser.
Means we can communicate between controls using the caontainer. How can it be implemented in MFC ocx control development? can any body suggest some idea to me.
I am a novice in ActiveX control, so soory for any stupidity.
Regards
Anil
|
|
|
|