|
Hi all
could you please anyone tell me what is the equivalent of
CSimpleStringT::GetBuffer in C#
Thanks and Regards
Madhu
|
|
|
|
|
When using the "StretchBlt" copy the bitmap to the target DlgItem.
It success to draw it on the screen, but when i using "ShowWindow" and "SetWindowPos".
The image on the dlgitem will lost
have any method to keep the image in the screen when it hiden or resize ?
|
|
|
|
|
Do the StretchBlt (and any other drawing) in a WM_PAINT handler.
Steve
|
|
|
|
|
i want to handle the event WM_DROPFILES and i am using MFC dialog base application but the classwizar of this dialog does not show this event so how to handle this event if anyone know please answer me ASAP.
Bankey Khandelwal
Software Engineer
|
|
|
|
|
I gave you a link in the previous post. It has got all sorts of samples to demonstrate this to you. Please go through them.
Go through the article before you run them.
Nibu thomas
Software Developer
|
|
|
|
|
i am trying to made a class which have to drive from 'COleDropTarget'
but on my site installed visual studio does not show this class as base so please tell what is the reason.
Bankey Khandelwal
Software Engineer
|
|
|
|
|
Hello,
while typing a text box and when reaches the required text length, how to automatically stop the user to stop typing without making the text box look like readonly. Readonly is my temporary solution for stopping the user to enter text.... but its kinda lousy...
Please help
|
|
|
|
|
You can set the maximum text limit by sending the edit control an EM_LIMITTEXT message.
The Rob Blog Google Talk: robert.caldecott
|
|
|
|
|
...and to complete robert answer,
you can do this also thru the resource editor, by setting the right property of your edit box control.
|
|
|
|
|
m_myedit.SendMessage(EM_LIMITTEXT, (WPARAM)10, (LPARAM)NULL);
Nibu thomas
Software Developer
|
|
|
|
|
Hello people ,
i have a rather unique problem. in my application i have two tierd property sheets. (on the main dialog i have a property sheet with some pages and on each of the pages i have a property sheet and some pages)
all the property sheets are created at run time and the program wortks fine.
The problem starts when i try to add any control on the base dialog. in case a control is added, the program just doesnt pop any windows (file dialog for example) the whole application just hangs .
Can somebody tell me as to why this may be happening and what may be the possible solution.
The Debugger
|
|
|
|
|
Here’s my problem:
• I have an existing exe application that has Doc/View architecture (say A.exe).
• This needs to be converted into a DLL while retaining Doc/View architecture (say A.dll).
• All the resources and event handlers should reside in the dll.
• The second application (say B.exe) which needs to invoke above (A.dll) DLL also has its own Doc/View classes. The basic idea here is that both A and B should share the same data loaded in memory.
• User should be able to work independently on both A & B, means they should me modeless dialogs.
Thanks,
|
|
|
|
|
any body know which is header and library file for using
"IDropTargetHelper"
Bankey Khandelwal
Software Engineer
|
|
|
|
|
shlobj.h
Nibu thomas
Software Developer
|
|
|
|
|
it is right but which library file i have to link
Bankey Khandelwal
Software Engineer
|
|
|
|
|
looking at the MSDN[^], shell32.dll...
|
|
|
|
|
i have an assignment: write a program to translate simple words in English to another language such as Filipino. I don't know how to make such code... please help me.. thank you in advance.
|
|
|
|
|
Do you need to translate sentences or just individual words?
If you need to translate sentences, you'll need to develop an understanding of the grammatical syntax of the language (simple things like putting adjectives before or after nouns need to be sorted out). If you need only to translate individual words, you're basically just going to effectively be looking it up in a database of some kind and replacing the text with whatever you have in your database.
|
|
|
|
|
i juz need to translate individual words... what should i use to it? thanks...
|
|
|
|
|
It's almost exactly the same as the morse code program. I gave you a complete solution to that problem - now I suspect I was actually doing your homework.
Steve
|
|
|
|
|
Stephen Hewitt wrote: now I suspect I was actually doing your homework.
>> i have an assignment <<
you were
|
|
|
|
|
To post I was refering to made no mention of assignments.
Steve
|
|
|
|
|
a source writed by vc6 and can work fine under vc6.
but with vc7 some error come out.
some tut or links introduce some detail converting vc6 source to vc7?? thanks
|
|
|
|
|
What errors do you get? Compiler output?
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
something like : can not instantiate abstract interface class.
|
|
|
|