1)first function to be called in the dialog based application? ANS) OnInitDialog(...) 2)can we change modal to modeless? ANS) ModelDilag -> DoModel(..) ModelLess -> Create(IDD_DIALOGRESOUCE,this) ->Show(SW_SHOW); uday kiran
kiran janaswamy
Posts
-
some interview questions -
Is there any CInt function - VB in c++?hi, use reinterpret_cast value; snippet of code. int x; double y = 5.66; now x = reinterpret_cast y; // cast double to int data type. this is type conversion in c++. good luck, uday. uday kiran -- modified at 0:57 Wednesday 10th May, 2006
-
Notification of Mail when Mail Arrives in VC++hi monty, i am very much thank full to you giving your best solution, i am proceeding as you told. and many many thanks for giving me the solution. thanks and regards, uday. uday kiran
-
Notification of Mail when Mail Arrives in VC++hi all,:-D i want to know when a mail arrives from outlook i want to know that a notification of mail. Any Interface to Notify a mail please provide a snippet of code. thanks, uday. uday kiran -- modified at 5:04 Monday 8th May, 2006
-
Getting the Password of the UserName(Remote Users)hai nave, to get the Current user Logged in we have to use GetUserName(...) Api, but i dont know the password APi for the User. Is it possible to retrieve the Password Also, please if yes let me know. uday. uday kiran
-
Getting the Password of the UserName(Remote Users)hi all, I want to access the Password of the User if the Username is know in a WorkStation or LAN. Is there any Api to retrieve the Password of the Remote User. please let me know. thanks, uday. uday kiran -- modified at 1:47 Monday 8th May, 2006
-
Increase the Font of a Static Controls in DialogBox Controlshi WhiteSky, i am very much thankfull to your suggestions. i got it. uday. uday kiran
-
Increase the Font of a Static Controls in DialogBox Controlshi all, i want to Increase the Font of the Labels before all the Controls. is there any approach to increase the Font of a Static Control that we palce before all the Controls to Identify. i want to increase the Font Size of the Static Controls before the placed before the Controls in a Dialog Box. please let me know, uday. uday kiran
-
Problem in QuerySibling of the PropertyPage Urgent Pleasehi all, its just "PSP_PREMETURE" flag before the Property sheet is Shown. I got It. uday. uday kiran
-
Problem in QuerySibling of the PropertyPage Urgent Pleasehi all, i am getting problem on QuerySibling(...) method of PropertyPage please tell me, i am writing QuerySibling(...) method in PropertyPage named two and sending some Data to PropertyPage three where i am collecting the Data. But in first time the Page is not able to Transfer the Data to ThirdPage. here is the snippet of code. second page: ------------------------------------------------------------------------------ BOOL two::OnSetActive() { CStringArray abc; abc.RemoveAll(); abc.Add("1"); abc.Add("2"); abc.Add("3"); abc.Add("4"); abc.Add("5"); if(QuerySiblings(1,(LPARAM)&abc)){ //Sending Data to Third Page CancelToClose(); } return CPropertyPage::OnSetActive(); } /----------------------------------------------------------------------------- third Page: LRESULT three::OnQuerySiblings( WPARAM wParam, LPARAM lParam ) { switch(wParam) { case 1: CStringArray* pString = (CStringArray*)lParam; if(str1.GetSize() > 0) //Remove all the Map Values str1.RemoveAll(); for(int i =0;i< pString->GetSize();i++) str1.Add(pString->GetAt(i)); //Collecting Data from Page Two !!! pString->RemoveAll(); break; } return Default(); } /----------------------------------------------------------------------------- for the first time i am not able see the Reflected Data in Page Three after traversal of page2 (two) to page3 (three) twice only i am getting the data. but in MSDN he has given the only method to be change the data from one property page to another property page. please let me know it is urgent!!!!!!!!!. help me out. uday. uday kiran
-
Update MS Access DB from VC(ADO)hi, using the RecordSet Pointer of the ADO, and Call Open(...) method of the RecordSet. In the Open Metod of the RecordSet pass the String for the Update of the Command. like //========================================================== Connection.Open("\\....mdb"); RecordSet rs; rs.Open("Update table table name where value = " &value); rs.Close(...); //========================================================== cool. uday. uday kiran
-
Property Pages Modification of the Style.hi all, i have modified the style of the Property Pages to Bottom of the Property Page. I am able to look the Tabs down but when i click the Tabs only the Tabs are visible else they are not showing Properly. code snippet //========================================================================= CPropertySheet dlg(_T("Hellow"), this, 0); one a; two b; three c; dlg.AddPage(&a); dlg.AddPage(&b); dlg.AddPage(&c); dlg.SetActivePage(&b); dlg.ModifyStyle( 0, TCS_BOTTOM ); // to modify the Tabs in Down Side dlg.DoModal(); //========================================================================== i am getting the Tabs Down wards by using ModifyStyle(...) but it clear only when I Click the Tabs. please let me know any solution. thanks and regards, uday. uday kiran
-
How to get system information in SmartPhon or PocketPChi, there are Api's to get the System Information, Battery Information of the Pocket PC using GetSystemParameterInfo(...) Api's. thanks, uday. uday kiran
-
List Box for displaying active users in a LANhi, use the NetUserEnum(...) Api you can list all the Users in a Perticular Domain. Hope this will be usefull to you. good luck, uday. uday kiran
-
Windows Serviceshi, refer the Book called "Server Side Programming" by Jeffery Ritcherd. He has neatly mentiod about the Windows Serviceses in Chapter2 and Chapter3. which will neatly guide you. cheers. uday. uday kiran
-
How to access a controls in property sheet.hi all, i want to access the control values from one property sheet in another property sheet. (ie) if i am having three property pages and i want to get the control values of the first property page in second how can i achieve it. please provide the solution. i am giving a snippet of code. //============================== CPropertySheet dlg(_T("Hellow"), this, 0); one a; two b; three c; dlg.AddPage(&a); dlg.AddPage(&b); dlg.AddPage(&c); dlg.DoModal(); //================================= where one,two,three are the the PropertyPages where each property page contains its controls, i want to access this values in different pages. please provide me a solution. one solution is using global variable and set the values into globals but i dont want to use any global variables. thanks and regards, uday. uday kiran
-
How to Compare two Dateshi nimuthomas, i got it and many thanks to provide a solution. i am lucky. thanks and regards, uday. uday kiran
-
How to Compare two Dateshi nibuthomas, if i have selected two dates from DateandTime Picker Control and put it in EditBox. this values are in the CString Format but they are not in COleDateTimeControl then how to Compare it. please provide a Solution for that. thanks, uday. uday kiran
-
How to Compare two Dateshi all, i am having a two DateTimePicker Control, i have selected Two Dates from that and put in a EditBox how to compare the Dates from the EditBox. Is this Possible with COleDateTime, if possible then please provide a snippet of Code. thanks, uday. uday kiran
-
Wake on Lan (WOL)hi all, i want to wake a System using Remote Machine which is Running state. please give me steps how to proceed for WOL (Wake on Lan). thanks, uday. uday kiran