|
But why do you want to find a friend on this forum?
|
|
|
|
|
Hi all,
Please tell me how can i disable the option of Move from system Menu.
every suggestion is appreciated.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Try this:
CMenu* menu=GetSystemMenu (false);
menu->EnableMenuItem(1, MF_BYPOSITION | MF_GRAYED);
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Where i can use this?
when i m use it in OnCreate function of Mainframe than its not working.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
I am filling a region with red in a rectangle on that i am drawing the ellipse but it is overlapping the region .So how can i draw a ellipse which i hollow
|
|
|
|
|
Try this way-> with selecting NULL Brush
SelectObject(hDC,GetStockObject(NULL_BRUSH));
or with MemDC
m_MemDC.SelectStockObject(NULL_BRUSH);
-@SuDhIrKuMaR@-
|
|
|
|
|
|
Hi,
We have an VC++ 6.0 application that runs continuously as a service for many hours and then crashes. We are unable to pinpoint the specific place in the code where the app. is crashing. On the last run however, I have got a stack back trace using a standard debugger.
Can anyone help me read this output please?
Application exception occurred:
App: (pid=0)
When: 8/6/2008 @ 10:47:11.703
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: COMP21
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 15 Model 2 Stepping 9
Windows Version: 5.1
Current Build: 2600
Service Pack: 2
Current Type: Uniprocessor Free
Registered Organization: Uniproc
Registered Owner: markv
State Dump for Thread Id 0xc98
eax=00000045 ebx=021260f0 ecx=009cb83d edx=00000045 esi=0313145c edi=03131444
eip=10216fc2 esp=03131000 ebp=03131010 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010202
function:
FAULT ->10216fc2 e809ffffff call +0x1000 (10216ed0)
10216fc7 83c40c add esp,0xc
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
03131010 10216d89 009cb83d 00000048 03131308 031310b0 MSVCRTD.dll!fcloseall
031312dc 1023ad99 03131308 00442c4a 031313e0 03131444 MSVCRTD.dll!fcloseall
03131328 5f4065ee 009cd79c 00442c48 031313dc 03131444 MSVCRTD.dll!vsprintf
031313ac 5f4066fa 00442c48 031313e0 03131444 0313145c MFC42D.DLL!Ordinal2178
031313cc 00423837 03131440 00442c48 009cb83c 0313151c MFC42D.DLL!Ordinal2168
03131450 67003910 009cb83c 031315a0 7c802530 021260f0 PrimaCallRec.exe!FileDebugWriter
*----> Raw Stack Dump <----*
03131000 45 00 00 00 08 13 13 03 - b0 10 13 03 45 00 00 00 E...........E...
03131010 dc 12 13 03 89 6d 21 10 - 3d b8 9c 00 48 00 00 00 .....m!.=...H...
03131020 08 13 13 03 b0 10 13 03 - 44 14 13 03 5c 14 13 03 ........D...\...
03131030 f0 60 12 02 c0 10 13 03 - ff ff ff 7f 30 00 00 00 .`..........0...
03131040 f0 60 12 02 d0 10 13 03 - 07 00 00 00 08 00 00 00 .`..............
03131050 f0 60 12 02 e0 10 13 03 - 07 00 00 00 08 00 00 00 .`..............
03131060 b7 ff ff ff f0 10 13 03 - 36 00 00 00 84 10 13 03 ........6.......
03131070 c7 6f 21 10 36 00 00 00 - 7c 13 13 03 24 11 13 03 .o!.6...|...$...
03131080 36 00 00 00 b5 ff ff 7f - 89 6d 21 10 85 b8 9c 00 6........m!.....
03131090 ff ff ff ff 7c 13 13 03 - 00 00 00 00 1c 15 13 03 ....|...........
031310a0 00 00 00 00 f0 60 12 02 - ff ff ff ff 2c 15 13 03 .....`......,...
031310b0 00 00 00 00 f0 60 12 02 - ff ff ff ff 07 00 00 00 .....`..........
031310c0 01 00 00 00 f8 1f 9b 00 - ff ff ff ff 01 00 00 00 ................
031310d0 b4 1e 9b 00 90 00 00 00 - ff ff ff 00 0a 00 00 00 ................
031310e0 00 00 41 e2 a0 1e 9b 00 - 01 00 00 00 6c d7 9c 00 ..A.........l...
031310f0 48 23 9b 00 94 b9 20 10 - 44 00 00 00 44 00 00 00 H#.... .D...D...
03131100 70 d7 9c 00 ff ff bf ff - 50 00 00 00 e9 24 06 67 p.......P....$.g
03131110 20 74 0d 67 1e f7 03 67 - 00 00 00 00 70 d7 9c 00 t.g...g....p...
03131120 b0 52 d3 00 56 00 00 00 - 82 29 42 00 e0 02 cd 00 .R..V....)B.....
03131130 00 00 00 00 00 00 00 00 - f0 52 d3 00 56 00 00 00 .........R..V...
Thanks in advance,
Huzefk
|
|
|
|
|
The "Stack Back Trace" section is probably the most useful.
It shows the nested function calls at the point of the crash.
Any of those function calls look familiar?
I personally would attach the debugger to the running service
(a debug version) so I could see the source of the error immediately.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Develop a windows based “Calculator” application. This application is similar to windows Calculator. You have to make all buttons functional as shown in screen shot. If “+” button clicked, it must be adding the values shown in the edit control and so on.
Develop your project using Microsoft VC++.
|
|
|
|
|
Do you want to write this project or need to an example?
|
|
|
|
|
This looks like your homework/project question you posted as it is on forum.
-> Where is screen shot.
I suggest do your homework by urself.
-@SuDhIrKuMaR@-
|
|
|
|
|
you didn't even bother to read the forum rules and posted your school/college assignment here.
Start somewhere and then if you need help someone here may help you....
SPOONFEEDING would be bad for your own sake of learning
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
1) Read the posting guidelines
2) we don't do homeworks
3) if you can't do your assignment yourself, then you're probably on the wrong way and you should consider study something else than programming.
|
|
|
|
|
Done. However, I couldn't get multiplication to work so I just used addition instead. I also could not get division to work so I just used subtraction a bunch. For some reason, subtraction looked questionable so I just added negative numbers instead.
Tell me where you want this "adder" shipped.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi!
When I run an application, it crashes and shows me, "An unhandled exception occured in devenv.exe". What might be the problem?
|
|
|
|
|
Are you sure your system is clean of virus?
|
|
|
|
|
Yes. I've installed AVG 8.0 Free Edition.
|
|
|
|
|
Did you disable AVG 8.0 Free Edition and try it again?
|
|
|
|
|
Try NOD32
It is due to some virus or torjan.
-@SuDhIrKuMaR@-
|
|
|
|
|
In my MDi applcation,I have mininize and maximize buton in both mainframe and childframe.
My problem is: When i minimize the childfrmaes,the minimized one goes away or behind the taskbar(not sure).So again i cannot maximize the childframes.
How can i do that?
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;
return TRUE;
}
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CMDIFrameWnd::PreCreateWindow(cs) )
return FALSE;
return TRUE;
}
This is my PreCreateWindow coding.
Anu
|
|
|
|
|
Child frame are not displayed in Task Bar, When you minimize the child frame they are minimized to Left down cornor of MainFrame window.
-@SuDhIrKuMaR@-
|
|
|
|
|
Ok.SO then how can i maximize again tht childframe.Because i cannot find the minimzed one in anywhere in mainframe..I want to this one.Because i have two or three childframes,so i minimize one window...and maximize the other one.
Pls help me out.
Anu
|
|
|
|
|
If you create a sample MDI application.
->Open three childs with three time click on new Menu
->Minimize two and maximixe third one
->After maxize you can not see the other two minimized childs
->Go to Winows menu of Application
->you can see the all three names of the child frame in menu with maximize one as checked state
->you can click on the menu to maximize or see other child frames
-@SuDhIrKuMaR@-
|
|
|
|