Iam using CGrid control.in this iam facing the problem
reddy harish
Posts
-
deleting the multiple rows in Grid -
deleting the multiple rows in GridHi Iam using Grid control in my application. how to delete the multiple rows in the Grid. currently if i select multiple rows to delete but the last selected row is getting deleted.here iam sending the code what i have used to delete the rows.but it is working pls any body can help in this CCellRange cRange; int nCount = 0; UINT unSel = 0; INT_PTR nSelctedDMItemsCount = 0; cRange = m_Grid.GetSelectedCellRange(); nCount = cRange.GetMaxRow(); bool bFlag = false; for(int nDMIdx = 1;nDMIdx < nCount;nDMIdx++) { bFlag =false; bFlag = m_Grid.IsCellSelected(nDMIdx,0); if(bFlag ) { m_Grid.DeleteRow( nDMIdx ); } }
-
validate float valueHi i want to validate the float value which the user is going to enter in the edit box. no integers are allowed and strings are allowed. only float values are allowed. is ther any API to valiate the float value or is ther any solution for this
-
Validation of matching commentsHi i want to validate the matching comments.(/* */).Every file should start with the /* and should end with */. if he gives multiple comments it sholud not be validate. Here iam showing some possible example which user may enter. 1./*text*//* 2./*text*/*/ 3./*text/**/ but that should be only /*text*/.other than this situation i need to throw an error.he is entering the file in edit box. please any one can give me the solution for this problem.
-
File extension validationThanks for ur reply. but i have a small issue. iam using edit box in the dailog box.user enters the file in that edit box. how to validate that.
-
File extension validationI have checked the earlier reply. As iam in learing curve i am not able to implement that exactly
-
File extension validationHi, iam developing a dailog based application in Wizard mode. i need to validate the file which the user is entering. so i need to validate the file extension.if the extension is wrong i need to pop a message saying wrong file. How can i validate the file extension. Regards Harish.
-
how to validate the special charactersHi all How to validate the special characters like %,&,which should not be allowed to enter in the edit control in dialog based application. I need to validate many special characters at a time.how can i validate.
-
How to override the controlHi all As iam a Beginner in MFC,i want to know how to override the control(ex:edit control)
-
How to validate the special charactersDear Moonen, thanks for ur reply, As iam a begginer of MFC i want to know how to override the control
-
how to load the BitmapHi i have created a bitmap and i want to load that to my dialog window. how to load the bitmap into the dialog. pls give me the sample code if possible
-
How to validate the special charactersyes it is an edit box.
-
How to validate the special charactersHi all, In Dialog based application user has to enter the file name to continue the next operation.If he enters any special chararacters like " ?,$,@",or integers, how to validate them. he should not enter any varibles or any special characters. Regards, Harish
-
Need help UrgentIam developing a dialog based application in which user has to select a file to continue for next step.There he needs to enter the file with correct extension,so i have to validate the file extensions which he has provided. he needs to enter different files in different steps. how can i validate the file extensions he has provided is correct or wrong. so that he can go for the next operation.
-
Need help UrgentThnks for ur reply. but If the user is entering the wrong file path or file name and he is trying to perform the next operation,how can we prevent him from that.so that we have to write the code to give him messeage or to stop him. Ex:when we are entering the wrong file name or path in the "RUN" command,it shows us a warning or message saying that is not exist. Like that can we perform the operation
-
Need help UrgentHi Iam developing a Dialog based application. In that application user has to add some files to perfrom the next operation, so i need to validate the file path,file name,for further operation. how can i check that user has entered the correct path,file name