15,899,825 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Resmi Anna (Top 112 by date)
Resmi Anna
7-Aug-13 9:06am
View
I did follow the document. but it is still not working. can anyone tell me how to enable the ES_AUTOHSCROLL style for an edit control dynamically?
Resmi Anna
11-Dec-12 5:05am
View
what element did u add in the dialog?I mean what type of control u added to the dialog box?
Resmi Anna
26-Apr-12 6:13am
View
Are you tryng to display files of a specfic type in "File Open" dialog and then select any file from that list??
Resmi Anna
24-Apr-12 8:32am
View
are you trying to read just the RGB value of each pixel of the bitmap?
Resmi Anna
24-Apr-12 8:02am
View
i have just tried to write the code with char[] insted of string just to ensure that this is the issue with STL string..May be this is not a solution to your issue..But pls try whether it is working as expected..you may have to change the file path name..
Resmi Anna
24-Apr-12 6:09am
View
i got the crash in vs 2010 with multiprocessor...it is working fine in VS 6.0 with single processor...the issue is with STL string only
Resmi Anna
24-Apr-12 1:08am
View
Deleted
The orginal code already having memory leak. I just tried to correct the crash in the code. also could you please tell me which comment you think is wrong?
Resmi Anna
23-Apr-12 5:05am
View
Are you using MFC?
Resmi Anna
19-Apr-12 8:19am
View
:-)
Resmi Anna
19-Apr-12 7:59am
View
Yes..i use to read some stuffs...but never post anything:-)
Resmi Anna
19-Apr-12 7:57am
View
Thanks for the 5:-)
Resmi Anna
19-Apr-12 7:55am
View
You can use the function WaiteForSingleObject(), if you can fire some event from the place where you finish sending the media
Resmi Anna
19-Apr-12 6:45am
View
Nice to hear that:-)
Resmi Anna
19-Apr-12 6:17am
View
so sad..someone really downvoted:-( :-( :-(
Resmi Anna
19-Apr-12 5:51am
View
Deleted
No more thanks expected..Expecting only UPVOTES:)
Resmi Anna
19-Apr-12 2:53am
View
:)
Resmi Anna
19-Apr-12 2:40am
View
"Code Edition" not so bad I guess.....
Resmi Anna
18-Apr-12 7:59am
View
This is really new and quite interesting. Actually I was expecting an error after gone through the documents about Nested class in "http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fcplr061.htm"
I complied in MS visual studio. But to my surprise there was no error in the first 2 cases. Only the last one reported an error. C++ concepts should be same for all compilers..rt??Complier Bug??? Really confused.
Resmi Anna
18-Apr-12 2:25am
View
Unfortunately i didnt get your question:(...Please mark the above question as solved and post the current question as a new one. So that everyone can view this and someone can help you.
Resmi Anna
11-Apr-12 3:28am
View
Very difficult to answer without seeing your code
Resmi Anna
11-Apr-12 0:18am
View
you can just make use of the INI file concept. You can have your application settings in the system and read it and write to it just like you do it in an INI file. But actually it is in registry. You dont need to bother about such things. You just want your application to read correct profile settings value..Thats it rt?...Is your issue solved now?
Resmi Anna
10-Apr-12 9:16am
View
check using the function GetProfileString() to see whether the value has been updated.
like below
CString csValue = pApp->GetProfileString(_T("General"), _T("FirstName"));
are you not getting the value "ABC" in csValue??
actually these setting details are updated in the registry.not in any INI file. You dont need to bother about viewing those details.just ensure that from program you can access it
Resmi Anna
10-Apr-12 7:14am
View
you can set a key which has stores the applications profile settings via the member variable m_pszRegistryKey.
eg:pApp->m_pszRegistryKey = "MYKEY"also set NULL value after usage
this key will be found under HKEY_CURRENT_USER->SOFTWARE in registry
Resmi Anna
10-Apr-12 5:24am
View
Question is edited.
Resmi Anna
10-Apr-12 5:24am
View
Question is edited.
Resmi Anna
10-Apr-12 5:06am
View
Deleted
you need to access the []operator of a class from another member function of the same class?
Resmi Anna
4-Apr-12 3:01am
View
not clear what you are trying to attempt. Can you show the exact line where you are getting error? have to overloaded the = operator in your CChartCtrl class or its base class if any?
Resmi Anna
3-Apr-12 4:18am
View
sorry....Hardly understood anything:(
Resmi Anna
2-Apr-12 8:17am
View
A 5!
Resmi Anna
2-Apr-12 1:53am
View
How much data is the WriteString holds. Actually there is no size limit for CString. Depends on system memory and process memory. Please post the exact warning message and line you are getting.
Resmi Anna
30-Mar-12 4:25am
View
#import is done as in the code?
please see all includes at the top
Resmi Anna
30-Mar-12 4:16am
View
Deleted
#import is done as in the code?
Resmi Anna
30-Mar-12 4:09am
View
Deleted
did you do #import <c:\\program files\\common="" files\\system\\ado\\msado15.dll=""> rename( "EOF", "AdoNSEOF" ) ??
Resmi Anna
30-Mar-12 3:21am
View
you can use this code in MFC.Did you try?What issue u had?
Resmi Anna
30-Mar-12 3:19am
View
It is so sad down voting without any specific reason :(
Resmi Anna
30-Mar-12 1:28am
View
File is of type what?Normal text file??
Resmi Anna
29-Mar-12 3:00am
View
are you using MFC?
Resmi Anna
27-Mar-12 6:40am
View
did you try debugging?Is your code blocking at accept() function. Please post the code how you created the socket. Have you created a nonblocking socket?
Resmi Anna
27-Mar-12 6:09am
View
Why dont you post the code you have done so far?so that someone can just add 2 or 3 lines of code to that to resolve your issue.
Resmi Anna
23-Mar-12 1:22am
View
Thats great...A 5 :-)
Resmi Anna
22-Mar-12 1:37am
View
please check the updated answer. This may be helpful I hope
Resmi Anna
21-Mar-12 9:16am
View
This will not work. because you have to continusly play the avi file. For that calling just one Play() is not enough. you refer the link i have specified. there the video is played in a message loop until you get the event to stop the play
Resmi Anna
21-Mar-12 8:12am
View
are you coding in c++ using Open CV?
Resmi Anna
21-Mar-12 6:36am
View
It is possible with normal c++ file read/write operations. for example suppose the content of your text file is "This is my file". here you can replace
'T' with '0'
'h' with 'x'
'i' with '!
's' with '@'
so that your file may look like "0x!@ i@..."
you can use your own logic to do this. What i said is just an example
Resmi Anna
21-Mar-12 5:14am
View
This problem is there only with your application or same behavr with other apps also??If your app only has the problem, Do have any code in your application to handle the window minimize/maximize/restore etc?
Resmi Anna
21-Mar-12 3:43am
View
are you using windows7?
Resmi Anna
21-Mar-12 1:58am
View
Very Difficult to understand how the screen looks from just the explanation. Better you post the code which draws the picture. So that someone here can help you
Resmi Anna
20-Mar-12 7:18am
View
ok..that sounds great!!!
Resmi Anna
20-Mar-12 7:00am
View
means you can still type something in the rich edit control and select some text from there after calling EnableWindow(false);????
Resmi Anna
20-Mar-12 6:57am
View
are you trying to add a few images to an CImageList class object?
Resmi Anna
20-Mar-12 6:39am
View
when you are disabling the richedit control?have you written the code to disable it like below from your main dialog class?
m_oRichEditCtrl->EnableWindow(false);
Resmi Anna
20-Mar-12 4:49am
View
you mean u want the red colour only when it is disbled?
Resmi Anna
20-Mar-12 2:11am
View
This code should work fine. Are you seing the control as disbled without red background?I tried with the same code. I am getting the rich edit control without red background and i can not edit it since disbled.
Resmi Anna
22-Dec-11 8:13am
View
you have written the function encrypt()within ur main
Resmi Anna
21-Dec-11 7:10am
View
Your buttons belong to CButton class rt?
Resmi Anna
16-Dec-11 6:20am
View
If i copy paste the code here it will be too long. No way to access that url?That site is also an information exchange place. like code project.
Resmi Anna
16-Dec-11 2:54am
View
i am not sure if it works. thats y..anyway done:)
Resmi Anna
16-Dec-11 1:51am
View
Deleted
have u gone to this link "http://stackoverflow.com/questions/2641770/extracting-image-from-pdf-with-ccittfaxdecode-filter"??? Not sure whether it helps u.
Resmi Anna
16-Dec-11 1:45am
View
This is because your visual studio settings has changed by mistake. If you are using Visual Studio 6.0. go to Tools->Options->Directories and check whether you have included all necessary include file folders
Resmi Anna
15-Dec-11 6:58am
View
there is chance that in ur project a global function called DisplayMessage() and a class member function called DisplayMessage() exists. so to resolve the conflict between this when called from the class.
Resmi Anna
15-Dec-11 6:28am
View
Can u do Ctrl + Alt + Space and try again. Another thing u can do is go to Tools -> Import and Export settings -> Reset all settings. but ur current settings will be changed. so be careful
Resmi Anna
15-Dec-11 6:16am
View
without GDI this is the maximum shadow effect that we can have. COLOR_BTNSHADOW gives the shadow effect that suits for for a normal MFC dialog box
Resmi Anna
15-Dec-11 5:48am
View
Did you check the function gethostbyname()?
Resmi Anna
15-Dec-11 5:29am
View
Actually i dont have visual studio 2010 installed. Are you finding any option like Tools->Options->Text Editor(tree control)
Then exapnd the "Text Editor" node of the tree. you may find "All Languages" node
select that node and at the rifht side there is a section called "Statement completion". check all the check boxes under that section only.
Resmi Anna
15-Dec-11 4:01am
View
Have you given unicode support to your C++ project?
Resmi Anna
15-Dec-11 1:39am
View
what if your rich edit control's size goes beyond your dialog box's size as the data grows?sounds senseless...
Resmi Anna
15-Dec-11 0:41am
View
Can you be clear?What you really need?you want to have an rich edit control without any scroll bar. but it should contain any amount of data. as the data increases, instead of showing the scroll bar, your rcih edit control's size it self should increase?
Resmi Anna
9-Dec-11 4:11am
View
Is it any folder specific?Or latest of all files in the system?
Resmi Anna
8-Dec-11 7:46am
View
some samples codes are there in
http://msdn.microsoft.com/en-us/library/windows/desktop/dd757648(v=vs.85).aspx
Please check. It may help you.
Resmi Anna
2-Dec-11 5:40am
View
could not find any other solution:( the list box that comes down with the MFC combo box looks different from the normal list box.se its boarder....can make a try using owner draw list box..not sure whether it works....no way to get its style using winspy also..
Resmi Anna
2-Dec-11 1:14am
View
ok...check whetehr it helps u..
Resmi Anna
1-Dec-11 3:38am
View
This is not because you kept the last parameter as FALSE. some of your dll that the application using is missing, or not proper.
Resmi Anna
1-Dec-11 1:50am
View
I think DirectX 9.0 includes directshow. No matter if u use even higher versions..windows SDK now comes up with directshow...
Resmi Anna
1-Dec-11 1:19am
View
are you using the old version of directxSdk???
Resmi Anna
23-Nov-11 7:37am
View
I tired for the same all the 5 times..but no way:(
Resmi Anna
15-Jun-11 23:29pm
View
the qstn is not that clear.are you trying to process the WM_CLOSE message of console window.That means your application is trying to get the WM_CLOSE message of some other application window, which is not of yours...I am rt??
Resmi Anna
15-Jun-11 11:55am
View
Are you working with a single application?i mean both the combo are in same application/same dialog??
Resmi Anna
15-Jun-11 5:10am
View
strcat()...this is very basic..google first,if no use then only "post a qstn"..to save ur time...
Resmi Anna
15-Jun-11 4:55am
View
What you actually need? Its not clear. You need to create a string by concatenating two char* variable content?
Resmi Anna
15-Jun-11 0:40am
View
#include "resource.h" in your newdialog.h file
Resmi Anna
15-Jun-11 0:17am
View
what is the name of the file that you have given for this dialog class?
also is it needed to include #include<afxwin.h>??
i dont think. you are doing evrything via classwizard rt?
Resmi Anna
15-Jun-11 0:07am
View
Go to your resource view. check the dialog id of newly created dialog.
Probably it will be something other than 'ID_MYDIALOG'. Pls change it to 'ID_MYDIALOG'.
Resmi Anna
13-Jun-11 5:02am
View
Your qstn is not all clear.You need to display just a message box on clicking a menu?
Resmi Anna
10-Jun-11 7:23am
View
Call Invalidate().this will invokde your OnDraw()
Resmi Anna
10-Jun-11 2:40am
View
I am not getting a clear picture of your actual requirement from the post.
But it seems like you need to write something to your file while closing.And while opening you need to get it back and see in view.
If this is what you need
no need to write any CFile class or operate on it.
Your document class Serialize()methode does everything for you..
you add your code in that methode to handle open/close logic
Resmi Anna
8-Jun-11 7:07am
View
Deleted
can u share some of your code?where you have done coloring of list control?
Resmi Anna
8-Jun-11 6:22am
View
not clear:(
Resmi Anna
8-Jun-11 5:04am
View
there is no dependancy checker tool that comes with OS Windows 2003 Server.you have to install some tool:(
Resmi Anna
8-Jun-11 4:56am
View
Not here for a dispute:):)..just to share our views.
Deck of card is classical example on the usage of enum.
I am asking is there any point at which we need to know the number of elements in an enum dynamically?
like suppose we have a character array in our programchar str[50];
At execution point 1 it may contain the string"Hi"
At execution point 2 it may contain the string"Hello"
so we should have some function to know the length of an array.
correct till here??
suppose your array conatins the value "Hi" throught the program execution.If are quite sure about that, you can use
const int Lenth = 2;
No need to write a GetLenght() function.It will only add a performance hit.
agreeing??suppose your Hi becomes "Hello" in your software version 2.
then you can modify const int Lenth = 5.
here also we consider performance than avoiding one line codeagreeing??
so like this is there any chance that at execution point1 your enum contains 4 elemnts and at execution point 2 enum conatins 5 elemnts?Then only you need to bother about calculating
the number of items of an enum rt?someone understood:(:(?????
Resmi Anna
8-Jun-11 2:42am
View
what role the number of elements in enum plays?Its value is important rt?
sorry if i am wrong.
any real situation that needs the number of elemnts in enum?
Resmi Anna
8-Jun-11 2:14am
View
not needed..
u can set value to that using control id.like GetDlgItem(ID)->SetWindowText()
Resmi Anna
8-Jun-11 1:36am
View
Why should we go for this?
int NumberOfElm = Length - NAME;
is enough rt?
what if the enum looks like
enum Information {
NAME = 0,
ADDRESS,
BIRTHDATE = 100,
Length,
};
also i feel this question doesnt make any sense like number of elements in array or list. because i havent heard of anything like dynamic enum in c++. is there anything like that??
Resmi Anna
7-Jun-11 23:32pm
View
Is your drawing a freehand drawing like MS paint???
Or you have written all codes to draw in view like pDC->MoveTo(3,3);
pDC->LineTo(50,50);
Your requiremnet is not that clear.
you said you need to serialize a view object.
if you serialize your view object it doesn't mean that when you deserilaize it you get all your drawings back.Is that what you are trying to do?
Resmi Anna
7-Jun-11 2:31am
View
it will remove all commas(','). try this code. it will work
Resmi Anna
7-Jun-11 2:27am
View
I have used this tool sometime before.
But could not find any help on scripting in English.
I think we have the japanese help notes available on scripting.
That time i used google translator to translate it
Resmi Anna
7-Jun-11 2:10am
View
did you try in OnCtlColor()
here you can set the color for radio button text, radio button text background, radio button control background. but you can not set color for that round frame of your radio button.
Resmi Anna
6-Jun-11 8:19am
View
are you saying that in debug trace you could not see the line
"CTab2midiView::OnKeyDown nChar=37" while pressing Left arrow key???
Resmi Anna
6-Jun-11 7:22am
View
Deleted
you mean the background colour of statc control text?that also changed by this code rt?
Resmi Anna
6-Jun-11 4:07am
View
:)pls mark this thread as solved
Resmi Anna
6-Jun-11 1:13am
View
why dont you try debugging the function DumpMessage() in server.
just check the input param value is correct 'BSTR Message'. if so there may be some mistake with conversion.
Resmi Anna
6-Jun-11 1:04am
View
you are saying that is not displayed in Debug Viewer??
Resmi Anna
3-Jun-11 8:06am
View
pls mark it as solved if it is fine. why you have updated the qstn?
Resmi Anna
3-Jun-11 7:49am
View
Deleted
lpctstr should be capital.i can not edit it here
Resmi Anna
3-Jun-11 6:41am
View
kill ur ServerExe.exe from task manager process
Resmi Anna
3-Jun-11 6:26am
View
I hope ur com server supports MFC
Resmi Anna
3-Jun-11 5:38am
View
If you need to do this in VC++, you have to follow the above link. there is no easy way of doing it other than this as in c#
Resmi Anna
3-Jun-11 3:58am
View
WC.
why dont u mark it as solved:):)???
Resmi Anna
3-Jun-11 3:17am
View
Have you already implemented some part of your linked list?
If so you may be keeping a header or root node rt
like 'pHeader' or something.
to check if first node
if(pHeader->data == pCurrentNode->data )
to check if last node
if(pHeader->pNext == NULL )
if both these fail it is a node in b/w.
Do traverse thru node in a loop to update pCurrentNode value.
It would be helpful if you share the code
Resmi Anna
3-Jun-11 1:05am
View
In mspaint itself you can do this.
Zoom the image to larger size from mspaint
Insert Grid by pressing Ctrl+G
at the bottom left corner you can see the coordinate of each mouse point.
Resmi Anna
3-Jun-11 0:50am
View
Your requirment is still not clear.
You just need to know the wdt/ht of controls to create the same kind of controls in the same dialog. why do u want to get it from jpeg file. In VS itself you have the option to create it in same size rt?
Resmi Anna
3-Jun-11 0:28am
View
You need to get it Programmatically from bmp or jpeg file??
Resmi Anna
2-Jun-11 4:13am
View
we have the function GetToolBarCtrl()
Show More