|
Click Here^
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1"> --[V]--
|
|
|
|
|
Is there any way to override Default printer setup Dialog in order to add user defined additional options.
|
|
|
|
|
Check for the KB Article No. : Q132909 in MSDN.
This has got step-by-step information on how to do it.
|
|
|
|
|
hai everybody, i don't have much knowledge in dll creation. so i need your help. i have a VC (SDK) program, which is used to get the information from the user and it will create a cpp file and header file. now i want to create a dll or Lib file using that cpp and header file in that same program (at run time only).
For Example, i have to get the user info from the user. so my program will Generate cpp & header file. so that cpp & header file is like:
class UserInfo<br />
{<br />
protected:<br />
char[20] name;<br />
int age;<br />
char sex;<br />
public:<br />
};
how can i do?. pls help me.
Bagavathikumar
|
|
|
|
|
I create a modeless dialog in the application first, then create a modal dialog whoese parent is the modeless dialog, then close the application, there is an error in the modal dialog's message loop.
|
|
|
|
|
followait wrote: there is an error in the modal dialog's message loop
I hate it when that happens.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
In my dialog,there is a CListCtrl (named m_ListCtrl) with Report style and LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES style,but there is no row:m_ListCtrl.GetItemCount=0,I move the mouse freely in my m_ListCtrl,How can I get the row-index,column-index and the rectange located by (row-index,column-index)Cthanks!
|
|
|
|
|
Sorry to bother you people. I am just looking for a way to change function prototypes based on the MFC version. Ideally I would be able to write something like this:
#ifdef ((mfc7))
#endif
If replying by email, send to mcondra@yahoo.com
Thanks, -M
-- modified at 21:19 Tuesday 13th December, 2005
|
|
|
|
|
use _MFC_VER
#if _MFC_VER == 0x0700
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
mcondra wrote: If replying by email, send to mcondra@yahoo.com
definitely not !!!
why would we use email when we have a so good forum where anybody can share ideas and solutions ?
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
Hi,
The problem I have got is, when I disable a button, by clicking on it, it still holds the appearance of having the default button indicator, i.e. it has a thin black line around it.
This results in a trapped keyboard interface.
Can someone tell me how I can lose this indicator of the disabled button, and shift it to another control.
Thx
|
|
|
|
|
|
paper67 wrote: Can someone tell me how I can lose this indicator of the disabled button, and shift it to another control.
GetNextDlgTabItem() will reterive ctrl id of next Dlg Ctrl ID and SetFocus api will put focus on that 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
|
|
|
|
|
Has anyone seen code for a richTextBox that will fully justify text? Right, Left, and Center are no problem, but for some reason code for fully justifying text in a richTextBox is no where. Is it not a part of the .net framework? Sure there is MFC and Windows GDI, but no examples in MSDN. There is large amounts of information on this subject in Visual Basic and if you are coding an HTML, but nothing while programming in Windows Forms. Thanks if anyone has anything to get me started.
Regards,
RRL
|
|
|
|
|
Hi,
I am using Visual C++ 6.0 with Visual Studio. I have been trying to use the Visual Studio Install application but I want a somewhat complex directory structure to be created based upon the user input. I want to have the application folder under the root with several subfolders (named by the user) created under the application folder and three subfolders (statically named) each created under the initial user named subfolders and then populate the folder contents with their corresponding files. Is this something that Visual Studio Installer can't do? Do I need to write my own installer with my own dialog boxes?
Thanks,
Buck
|
|
|
|
|
Can you use CreateDirectory() or SHCreateDirectoryEx() for this?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
I don't think so within Visual Studio Installer. There are no .cpp files associated with it. This is the application that creates the application_name.msi file. You can start it through Programs->Microsoft Visual Studio 6.0->Microsof Visual Studio 6.0 Enterprise Tools->Visual Studio Installer.
Thanks
Buck
|
|
|
|
|
My apologies. I just assumed you wanted a Visual C++ answer.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
|
I think you've just lost yout weekly allowance of question ...
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
First of all, you need to check Ignore HTML tags in this message (good for code snippets) for your code to post properly.
Second - the headers you're using are not standard C++. It's a shame it's taken this long, but Microsoft have finally stopped supporting these non-standard headers. You need to drop the .h, so for example, include iostream, not iostream.h. As a result, you'll find everything is now in namespace std, so you will need using namespace std; if you don't have it already.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
It's all those smiley faces. I put those in my code, and it won't even start to compile.
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Is the lab assistant/monitor no help in this endeavor?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Why did you post all this repetitive code ?
VC6 is a very poor implimentation of C++. If you knew what you were doing, you could write code that would work in a standards compliant compiler, but otherwise, it was easy to write code that is not C++. I personally had no trouble moving from VC6, but it sounds like your own code was not standards compliant. Do you have a using namespace std, or a using std::ofstream anywhere ? Without it, ofstream is hidden within a namespace, assuming you used the standard headers.
Christian Graus - Microsoft MVP - C++
|
|
|
|