Is there a way to set the dialog program so that when it run, it read input file (config, ini, txt, data, mdb...). And let say that the file containt an int. if it is 1, the screen will show 1 button, if 2, 2 button and so forth. Also same for string, can the program take in a string and put it up on screen as button label? thank you!
catngo
Posts
-
buttons and config file for MFC -
MFC iconOh, i see. never know there a combo box there. thank you!
-
MFC iconi did that but that only show in the title bar of the program, not on the .exe file that list under windows explorer.
-
MFC iconhow do i set the code so that the .exe file will have the icon instead of the MFC icon?
-
MSFlexGrid propertiesColWidth is not a member of msflexgrid but SetColWidth is but what the parameter to use?
-
MSFlexGrid propertiesHow do i set the size of column/row of the grid?. Also, is there a way when i click on a cirtain column, the data sort itself?
-
MSFlexGrid functionthere's 2 function in microsoft flex grid, GetMouseCol() and GetMouseRow() i think this 2 function return the grid value that has been clicked. anyone know how to use it and what it does?
-
convert double to char!thank you!
-
convert double to char!how do you convert double to char? i mean to keep it the way it is as double for display. exp: 3.5 will be 3.5 as char (maybe to CString or array since this is 3 characters)
-
Directory pick!i want to insert a thingy where you click on the right side then it drop down with DRIVES and Directory tree. is it the drop down combo box with some code or diferent one?
-
how do you use the combo box?i have insert a combo box with 2 choices. i create a member variable for that combo as VALUE. what is correct way to pickup the data selected?
-
<ENTER> in dialogthank you!
-
<ENTER> in dialogi have a program use dialog popup to get user info, but if i press ENTER instead of click on the okay button, it just act like i press the CANCEL button. How can i make it work with either click on OK button or press ENTER work the sameway?
-
program won't rune in NT or XPmy program created using MFC which i chose static dynamic link. i also insert a MSFLEXGRID in the program. the computer i use is win2k. i test program on other machine and it only run on win2k comp but not on XP or NT. anyone know why? needed special file?
-
Detecting Keyboard Input in Console Applicationgetch()
-
help set the program back to originalif i load the workspace from my laptop, it will show but it don't on my main comp. so, i don't think any wrong file in the workspace. this is weir and anoying.
-
End Of File (eof) test helpyou da man! thank you!
-
help set the program back to originaldon't know what i did but when i press the ClassView tap, i don't see the member variable any more. also when i enter code like: class. it suppost to pop-up the box to pick the member variable but now it don't show nothing. I'm a noob here, so those help me a lot. what did i turn off?
-
End Of File (eof) test helpi have a program reading data from a text file and display each section to a grid display. i do a EOF test make sure every info has been extract but seem like a infinite loop. int counter = 0; char Char; char Array[100]; ifstream file; file.open("somefile.txt"); do{ file.get(Char); Array[counter] = Char; ++counter; }while(Char != file.EOF()); seem like good but it a infinite loop; any help?
-
working with gridOne last question, is there anyway to print the grid with data out just like excel?