|
it doesn't work I get an assert all the time,
SIZE s;
s.cx = 100;
s.cy = 100;
m_SplitterWnd.Create( this, 1, 2, s, pContext );
m_SplitterWnd.SplitColumn( x );
I tried using different values for x
|
|
|
|
|
Does anyone know where to find the source it IRotView, the MSDEV tool for viewing the contents of the running object table? Actually I'd be happy with any rot view app.
Thanks,
Aaron
|
|
|
|
|
Hello,
(1) Does someone know how I can display the Windows dialog for connecting a HDD to the network? (sharing it)
(2) I would also like to know how to display the Properties for a specific map (directory).
Cheers,
Henrik
|
|
|
|
|
Does anyone know how to use the ADO DataGrid Control or has an example on how to use it in Visual C++
|
|
|
|
|
See my home page under Software:
http://userpages.umbc.edu/~bcorfm1
|
|
|
|
|
How i get a control over the GetScrollPos() return values?
|
|
|
|
|
...you can minimize the size of a whole mfc program, for my program, it takes ~1,5 mb just for a small hello world app, grrrr
so my question is : how do i have to setup my project options to minimise the size of the program ?
please help me
|
|
|
|
|
goto the 'general' section and then 'tips' here on codeproject ... there are several articles on exactly what u are looking for
mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them
|
|
|
|
|
Usually the release version is much smaller when options set to MINIMIZE-CODE.
But when you want to have very small code than there is no better way then using raw WinAPI.
( WinAPI "Hello world" is about 25k - so any more question about MFC *ggg* ! )
Greatings Mario ///
----------------------
www.klangwerker.de
mario@klangwerker.de
----------------------
|
|
|
|
|
well, ok, but the .exe file size doesnt matter to me
i think about all those dll files (mfcu42.dll,.........)
so, my question is "If i want to give my program to a friend, what do i have to do for the smallest size possible" , do i always have to give him the dll files, or is there any special option that reduces the project files to one , maybe two dlls ?
PLease help :P
|
|
|
|
|
Well, unless you are using the Learning Edition, you can compile staticly, it will create one large application (not counting the use of new versions of common controls and ActiveX).
|
|
|
|
|
Does anybody know how to develop pseudo-printer driver like Adobe Acrobar Writer?
|
|
|
|
|
you would need the windows ddk (device driver kit) and a generic printer driver skeleton ... then the icky work would start ... sheesh ... isn't it just easier to buy adobe acrobat?
mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them
|
|
|
|
|
Hi. I need open a txt file to an user can modifies it content (the option "save as" have to stay disabled) How can i do open a file which only have "save" option enabled? Thanks.
|
|
|
|
|
ummm ... assuming u mean in an mfc mdi or sdi app with a file/save and file/save as menu option on it ... just remove the file/save as option in the resource editor
mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them
|
|
|
|
|
In order to create a worker thread from a member function you need to make it static. Making it static prevents it binding to any instance of a particular class. Given this, how do I access the member functions or variables of my class from within the thread function?
For instance, if I have the thread function below, how would I update a dialog control or status bar with the threads current progress or even access a member variable?
// Static thread function
UINT CDemoDlg::ThreadFunc( LPVOID pParam )
{
// DO: Time consuming thing
// Update dialog control
// or update status bar etc?
return 0;
}
What is the standard procedure for dealing with such things? Some kind of polling a non-member global variable or is it possible to resolve the scope of a class member variable or function from within a static member function??? My attempts to do the latter failed would you believe
Thanks...
|
|
|
|
|
Hmm, helps to check the articles list before posting a question that is already covered there huh?
Apologies to all!
|
|
|
|
|
Stupid question alert!
I have an array of strings, what is the easiest way to convert that array to an array of ints.
|
|
|
|
|
assuming you have valid numbers in the strings you can use atof, atoi, atol etc etc depending on the data ranges and precision ... just loop thru the arrays
mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them
|
|
|
|
|
OK, you can use atoi function (see Help) and convert one per one elements in array (with a loop help).
|
|
|
|
|
Ok, am making a simple thing, a bitmap on a dialog.
Simple.
But i want to move the bitmap to the right when i press a key on my keyboard,
i know how to move the bitmap with a control button, but i dont know to tell my program
that i pressed a button. Please give me an example.
Thank you.
|
|
|
|
|
OnChar, OnKeyDown or OnKeyUp in your class wizard will all tell you if a key was pressed.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Dear all,
Is there anyone familiar with the Microsoft SAPI (text-to-speech)?
I have tried to write a program by using SAPI 4.0, however, I got these
errors. Can anyone help me how to solve it?
Waiting for you sincere reply. Thx a lot.
--------------------Configuration: tts - Win32 Debug--------------------
Linking...
ttsDlg.obj : error LNK2001: unresolved external symbol _CLSID_TTSEnumerator
ttsDlg.obj : error LNK2001: unresolved external symbol _IID_ITTSEnumA
ttsDlg.obj : error LNK2001: unresolved external symbol
_IID_ITTSBufNotifySink
Debug/tts.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
tts.exe - 4 error(s), 0 warning(s)
|
|
|
|
|
The simplest way to solve such type of problems (linking problems) is to search these strings (like ITTSBufNotifySink) in all *.lib files. Than you must link (via Alt+F7 or #pragma comment) this lib-file to your project.
Btw, many MSDN articles describes that libs are needed for the code they describes.
With the best regards, Vitaly.
|
|
|
|
|
As you know, the CRebar in MS Internet Explorer has dividers on all sides (Top, Bottom and Sides). How can I get this done with CRebar?
CString Dutch = "Double Dutch";
|
|
|
|