|
Hi,
Actually i have dialog based application that need to support more than one language.All the language text available in header file based on the language selection text can be loaded into dialogs and its controls(working fine for French). when i do the same with Japanese only i could see only consecutive squares. Any one suggest how do i over come this problem?
Thanks,
Rameshkanth
|
|
|
|
|
Hi all,
I'm writing an application using MFC in VS2005. When I click on the File menu in the app I get an invalid argument exception. When I looked at the method throwing the exception (_AfxAbbreviateName in filelist.cpp) the exception was thrown by the line:
<br />
ENSURE(cchFullPath < cchMax);<br />
where cchFullPath is the string containg the path and cchMax is the limit to the width of the path that will be displayed. This value has a default value of 30.
The method appears to be intended to abbreviate a path with more characters than 30. However, unless I'm greatly mistaken it just throws an exception after 30 and so the list cannot be filled.
Has anyone seen this before and come up with a work around?
Thanks
Philosophy: The art of never getting beyond the concept of life.
|
|
|
|
|
Hi,
I want to add a new function in the existing CShockwaveFlash class.So,for that i changed class id of that class .It is registering the clsid,but not recognizing that class(Iam not getting any output,instead of that displaying a messagebox to register with the previous clsid).Whether we should not change the clsid ?
Siddharth
|
|
|
|
|
siddharthsan wrote: I want to add a new function in the existing CShockwaveFlash class.So,for that i changed class id of that class .It is registering the clsid,but not recognizing that class(Iam not getting any output,instead of that displaying a messagebox to register with the previous clsid).Whether we should not change the clsid ?
thats not possible buddy in general scenario.. either you have to make your own wapper com component or reenginneer the shockwaveflash class
|
|
|
|
|
Hi have written an addin for the Outlook 2003. All in-coming mails are proparelly backup in the .Msg file at particular location on the disk. The objective of the saving the file in the .MSG format is that on double clicking on the .Msg file it will open in the MS Outlook, or even if we do drag and drop it will open in MS Outlook. The basic thing i want to do is to set passward to .Msg file for opening in MS Outlook. It should either ask for user name and passward or any other strategy of authetication Once it passes this user name and password it should open in MS Outlook, Help me...
Ganesh Paul SPIAN
|
|
|
|
|
Hello,
I have derived a class from CWnd with window styles
WS_VISIBLE | WS_CHILD |WS_BORDER |WS_MAXIMIZEBOX |
| WS_SYSMENU | WS_CAPTION |WS_OVERLAPPEDWINDOW | WS_VSCROLL | WS_HSCROLL
I can now see the scroll bars with the window but do not know how to program them.Once the application is executed on clicking on the scrollbar the function OnHScroll is called.
But I have written nothing in it for the screen position to shift.
How should I go about writing the code in OnHScroll()
Prithaa
|
|
|
|
|
|
I've answered this a couple times for you. There's several CWnd member functions for accessing
and controlling the scrollbars, none of which involve a CScrollBar class object (which is for
scrollbar controls, not window scrollbars).
For window scrollbars IGNORE the (NULL) CScrollBar pointer passed to OnHScroll/OnVScroll.
Mark
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
Hello,
Thanks for the support and repeatedly answering.
I have got it and will not trouble with same questions again.
It seems I am stuck somewhere else.
Prithaa
|
|
|
|
|
The point is - CWnd methods, not CScrollbar methods.
Mark
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
i am new user to richedit . i am using CRichEditCtrl class. i am using the
FindText function for finding a text but it returns only the first occurence.
So Please Help Me.
Remember Using CRichEditCtrl class .not RichEdit Doc/View
|
|
|
|
|
The FINDTEXT structure takes a CHARRANGE that indicates the range of text to search. When searching for the "next" or "previous" match, you set the range to exclude previously searched texts (e.g. you start the search at the end of the last found match).
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Hi all
When a build is project built.Lot of files r created in Debug or Release Folder.How to get .asm file in VC++......
In Turbo C i get it like this...
//add.c
main()
{
int a,b,c;
a = 10;
b = 20;
c = a + b;
}
save the above program as add.c
then compile as follows
c:> tcc -S add.c
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
vibindia wrote: How to get .asm file in VC++......
Uuh ? Why do you want an asm file ? The linker will generate an executable file. That's the one which is needed.
Or maybe I totally misunderstood your question... Is there a particular reason you want to have an asm file ?
|
|
|
|
|
Hi,
By opening asm file, v can understand, what compilier really does.
Especially for pointers....
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
vibindia wrote: By opening asm file, v can understand, what compilier really does.
Especially for pointers....
With a bit of patience, you can use the debugger have some insight about.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
I think that with CL compiler (the Visual Studio one) you cannot do that. Turbo C allows it beacuse the compiler generates the (intermediat) assembly code and then the assembler (TASM ) produces the object file; on the other hand, CL directly produces the latter (without intermediate steps).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
At least with VS2005, you can add the /FA switch to the compiler command line.
Check MSDN under Compiler Options (by category)[^] and look at the /FA[^]portion.
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
Hi
In Project settings - c/c++ tab - Project Options - I included /FA
and got the asm file...
Thanks.....
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
It might be worth noting the options you have on the Config Properties/Output Files page of the properties dialg box (VS 2005 but the same can be found in other versions).
If you click on the Assembler Output line you get a combo box. /FA is the Assembler Only switch but there also 3 other options:
Assembly, Machine Code and Source (/FAcs)
Assembly With Machine Code (/FAc)
Assembly With Source Code (/FAs)
If your trying to get to know Assembler the bottom option is probably the most useful
Tom
Philosophy: The art of never getting beyond the concept of life.
|
|
|
|
|
Hi To ALL,
I want to change the color of some selected row in a list control on a specified condition.
Please tell me how i can do this
Thanks in Advance
|
|
|
|
|
sulabh_expert@rediffmail.com wrote: I want to change the color of some selected row in a list control on a specified condition.
Handle NM_CUSTOMDRAW
Do your Duty and Don't expect the Result
|
|
|
|
|
As a follow up to Parthi's post, see this[^] article.
/ravi
|
|
|
|
|
http://www.codeproject.com/listctrl/selectentirerow.asp
|
|
|
|
|
I have MFC diglog based application.
I want to give vista controls like look to my application(all controls in diglog) on Windows 2000/XP operating system...
How it can possible?
thank you,
Regards,
ANUP KULKARNI
|
|
|
|