| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by fj8283888
Hi:
I have a value char a="123456";
If I have to add "0" before 123456 to become "000000123456" what should I do?
|
|
6 |
594 |
|
|
by fj8283888
Hi,
In Visual C++, how could I spilt "hello word" into two variables?
Thanks
|
05-Nov-2005 00:27
by frug
|
17 |
1,103 |
|
|
by Dominic
It would appear on my dialog that I can set the state of a CButton to the Pressed in state using SetState() member function of the CButton MFC. However if I select any other CButton on the dialog, the orriginal one (set via SetState()) becomes unset again.
Is this supposed to happen? That is, can...
|
|
3 |
1,827 |
|
|
by Dominic
Please could someone tell me if there is a simple way of rotating text in a window. I use the CDC class for drawing, and there seems to be only functions for writing text, eg, TextOut().
What I want to do is to paint a text string at an angle in the window. A simple method of rotating a bit map...
|
|
2 |
793 |
|
 |
by twirl
Hi,
I am trying to cross compile my source so it will work under windows, the linux version works fine. My problem is i get this error using MVC++ 6 gameserverprowindows.cpp(107) : error C2065: 'c' : undeclared identifier.
The line 107 = string cmd = string("notepad ") + string(c);
Please help...
|
29-Oct-2005 17:07
by Sokar
|
6 |
1,073 |
|
 |
by shvalb
Hi.
I try to create a dynamic CEdit control using the .Create() method, and it is created ok, BUT, I only manage to create the control with a black line border and not as nice as if I would create it from the tools-box then it would have a 3d look or some kind of depth...what style or what do I...
|
28-Oct-2005 14:17
by frug
|
1 |
908 |
|
|
by Janakiraman
Hi All,
I have created a simple dialog based program, which is creating MS Access file in a local directory.
This works fine when i execute the application where VC++ is installed but it is not working when i execute the application where VC++ is not installed.
I'm getting an error in Debug...
|
|
1 |
670 |
|
|
by r_m_zhang
Thanks for the help. Now, I stuck with new problem regarding tab control. How to transfer variable values between two dialog pages created under tab control or between the sub dialog and main dialog?
Thanks
|
|
16 |
1,461 |
|
|
by bryan523
Hi all,
can someone tell me which open source reporting tools can i used for MFC program?
the reporting tools i knw was crystal report but this is not open source! then the jasperReport is java based right!
Please help me! thanks!
Rgds,
bryan
|
|
1 |
741 |
|
|
by holbrook
Hello,
I have a simple MFC dialog based application with a microsoft web browser activeX control in it. I want the ability to specify a mouse cursor image, instead of the web browser using whatever cursor the underlying html tells it to.
So far I have only been successful in setting the cursor of...
|
|
0 |
739 |
|
 |
by shvalb
Hi.
I use the SQL set of api functions in order to "SELECT, INSERT and UPDATE"
data from my DB, I don't use CRecordset because I using different languages and I need full UNICODE support, and my question is: How can do I query the DB for a column number if I know the column's name ?? I know that...
|
|
2 |
833 |
|
|
by Palembang05
Hi,
I always have a problem everytime I rebuild my program (after modifying the codes). The problem occurs when compiling is in progress and it stops with the message: "cannot open Debug/MyProgram.exe for writing". After waiting a while and it disappears (VC++ compiles as usual). Is it anything to...
|
|
6 |
2,137 |
|
|
by kobycool
hello,
Im trying to run simple MFC application program using UpdateData function.
I defined simple dialog with Edit Control and I added variable as CString and when I push the OK button I want it to show me the text.
under the following event:
void...
|
|
3 |
4,523 |
|
 |
by Dominic
Back in the old days of Windows 95/98, I could see from Task Manager (I think) if my program was using up resources. Now under Windows Xp and Windows 2000 I cant seem to find that information.
My program displays the status (using colored Bitmaps for lights etc) of a machine. The program...
|
|
5 |
760 |
|
|
by aliok.tr
hi,
I am working on CImg library. But I have a simple problem.
I am writing my codes with VS.NET 2003. For example when I write this
CImg<unsigned char> dlogo = CImg<unsigned char>("img/logo.ppm");
dlogo.
|
|
4 |
602 |
|
 |
by xavierkdna
Hi forum members, I need your help to get the handle of the "all programs" menu of the star menu, when the menu of "all programs" is selected, I am usign CBT HOOKS to get the handles that have the current focus, when the star menu is selected i get the "DV2ControlHost" window class, and I have...
|
11-Oct-2005 07:16
by aie0
|
2 |
987 |
|
|
by atiasavn
Hello,
I'm a new programmer of C++ 2005 and I would like to know how the hell can I change or access properties of controls I posted on the form at runtime? is there a direct way to do so?
SOS!
Avner
|
|
2 |
617 |
|
 |
by shvalb
HI.
I have a char* buffer that I need to write to a file, the buffer contain some english and some russian - the buffer represents xml string, when I write it to a file and open it with explorer it doesn't open - it shows me an error.
if I saw the file as 'utf8 encoding' it opens fine in...
|
|
1 |
547 |
|
|
by gabmorod
This should not be a difficult question, but I don't know how to do it.
I'm using the Microsoft Visual Studio .NET 2003 and I'm programming in Microsoft Visual C++. My doubt is: once that I've written a program (I've run that program in the Debug mode) and I want to create a release version. What...
|
|
11 |
1,079 |
|
|
by wadgie
HI,
I am wondering how I go about calling a property sheet's cancel button from a property page.
Basically when a value is set in my propertypage class, I want to be able to exit the program.
A propertySheet's cancel argument is like this:
if(nResponse == IDCANCEL)
But its not in a function and...
|
08-Oct-2005 16:28
by imbtf
|
1 |
628 |