|
brahmma wrote: inline has got absolutely NOTHING to do in this case.
Yeah.
|
|
|
|
|
I guess I need some help and if possible solution. Any FUNDAS/BASIC discussion and finding the evidence of lacking it, can be taken offline. Right brahmma?
|
|
|
|
|
If you want to have this done implicitly there is no way to do it (that I know of) without macros.
Have a look in the VC++ run time library source code at how the new operator override (DEBUG_NEW) was implemented. The override provides memory leak tracking and uses the file and line number of the caller to do it which appears to be what you want.
|
|
|
|
|
|
|
Thank you very much vinsankar....
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
i want that whenever a new message open open in the outlook the first button of the toolbar is selected without affecting the selection of button on the previous page
thanks
|
|
|
|
|
Can we create a new file in the remote system using CFtpConnection, like we can open a CFile in modeCreate?
Thank you.
KIRAN PINJARLA
|
|
|
|
|
Hi,
And what do you mean by remote system ? CFtpConnection needs CInternetSession object.
If there is an FTP server - sure you can use it.
-----------
Mila
|
|
|
|
|
kiran.pinjarla wrote: Can we create a new file in the remote system using CFtpConnection...
Use the PutFile() method.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Iam using a CComboBox control for selection.When i select a different item from the list , before updating i wish to check it for some conditions set by me and if it holds ,then only i need to update it,else the selection should reset to last selection. I tried messages CBN_SELENDOK, but iam not able to make use of it.Can anyone help me to solve this out.
|
|
|
|
|
ratishmon wrote: I tried messages CBN_SELENDOK, but iam not able to make use of it.Can anyone help me to solve this out.
What exactly is the problem? What have you achieved and what are you not able to do?
My suggestion is: Handle the CBN_SETFOCUS and store the current selection state by CComboBox::GetCurSel() . Then handle the CBN_SELCHANGE and again get the new selection. Validate against your criteria. If invalid, reset it to the previous one by using CComboBox::SetCurSel()
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
It would seem a better design if potentially-invalid entries were not part of the combobox to begin with. Is this approach not feasible?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
When can be an object ambiguous?. this is one of the questions i faced in one interview. What could be the ansers friends?...
KIRAN PINJARLA
|
|
|
|
|
You lack the basics man. Read a book. Now someone can answer this question. But this won't be repeated in the interview. You need to really know the basics first.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Mr. Bramha if u are unable to give answer of any question then don,t give any suggestions. First check ur knowledge.
sdssd
|
|
|
|
|
The correct answer is, of course, "Pshh...never! My objects are NEVER ambiguous!".
|
|
|
|
|
Hi
I need to move the data selected in the list control and some other additional data to the Excel sheet . Please give me a solution as how this can be done.
Thanks in advance.
Taruni
|
|
|
|
|
Taruni wrote: I need to move the data selected in the list control and some other additional data
You need to be sure of what you are going to have. Give some more details. Are you using OLE? Is excel within your application or not? Do you want to export data to a file and then open it with excel?
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
During Debugging the application,
when a modal dialog is used,it popups and the
window is shown by Dialog.DoModal().
But if the same dialog(Form) when shown as a modeless window,
it cannot be popupped.
For example,
<br />
pGraphDlg=new CGraphDlg();<br />
pGraphDlg->Create(CGraphDlg::IDD,NULL);<br />
m_pMainWnd=pGraphDlg;<br />
pGraphDlg->ShowWindow(WM_SHOW);
Is there any way to show the modeless window during
debugging the application.
|
|
|
|
|
Dear All,
I need to do that taking remote host files from any LOCAL host using CFileDialog.
Can i use CFileDialog for getting remote host file lists ?
How can i do this ?
or
is there any other way to do this ?
Thanks.
Bye.
|
|
|
|
|
Sakthiu wrote:
Can i use CFileDialog for getting remote host file lists ?
\\use UNC paths in filename folder
"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
Support CRY- Child Relief and you
|
|
|
|
|
Where can I find the basics to start learning the usage of graphics library functions?Plz help.........
|
|
|
|
|
sheetal_06 wrote: the usage of graphics library
Which one ? There are several... GDI, DirectX, OpenGL, ...
Be more precise. If you don't know, maybe you could describe what you would like to do so we can help you choose the appropriate library.
|
|
|
|
|
if i want to list every file in one of my drives what type of varables do i need? and how many lines will a CListCtrl hold before it goes crazy?
|
|
|
|