Click here to Skip to main content
15,888,287 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
lino_i24-Feb-05 10:19
lino_i24-Feb-05 10:19 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow24-Feb-05 10:26
David Crow24-Feb-05 10:26 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Aamir Butt25-Feb-05 0:45
Aamir Butt25-Feb-05 0:45 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow25-Feb-05 2:23
David Crow25-Feb-05 2:23 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Aamir Butt27-Feb-05 18:07
Aamir Butt27-Feb-05 18:07 
GeneralOwner Draw Menus without MFC Pin
r3dqu33n24-Feb-05 7:53
r3dqu33n24-Feb-05 7:53 
GeneralRe: Owner Draw Menus without MFC Pin
PJ Arends24-Feb-05 16:52
professionalPJ Arends24-Feb-05 16:52 
GeneralReally Tricky situation with ODBC and FlexGrids Pin
ur_unholyness24-Feb-05 6:53
ur_unholyness24-Feb-05 6:53 
I have a database with 15 fields in it. I am using to flexgrids and filling them manually by retrieving values from the database, record by record. I have placed the twogrids in two different classes derived from CRecordview, and are hooked to the database by a CRecordset dericed class,(again manually, not using bound data controls like ADO).These two view classes have their own CMDIChild derived window classes, and I am creating two different window frames,one for each, and placing them in my application as I can best possibly adjust. THe real trick comes here. In the first grid which I call an abstract grid, I am filling it up with only 8 of the 15 database fields. In the second grid which is in a different class and window, I have just one row, and I call it the detailed grid. This one row of the grid has to be filled with the database fields (All 15) only by a single record at a time. This single record is the one which I select by just clicking on the desired row in the first grid in the other class (Abstract grid). My actual question now is "Is there a way such that when I click on a certain row in the abstract grid, I capture the row number(=first field of the database = serial no = primary key)and call the LoadGrid function for the detailed grid in the other class and pass this captured row number to precisely fill the detailed grid with only that record whose serial no is same as the row number passed, and all this has to be accomplished by just a click on a row in the abstract grid?"

long live the dEvIL

GeneralUnicode in CCommandLineInfo Pin
Konrad Windszus24-Feb-05 6:18
Konrad Windszus24-Feb-05 6:18 
GeneralRe: Unicode in CCommandLineInfo Pin
PJ Arends24-Feb-05 8:06
professionalPJ Arends24-Feb-05 8:06 
GeneralRe: Unicode in CCommandLineInfo Pin
Konrad Windszus24-Feb-05 10:26
Konrad Windszus24-Feb-05 10:26 
GeneralWMI Blues Pin
newbee7824-Feb-05 4:39
newbee7824-Feb-05 4:39 
GeneralVcWizCtl Pin
mikeh24-Feb-05 2:54
mikeh24-Feb-05 2:54 
GeneralPackaging & Deploying C++ Application Pin
clav24-Feb-05 2:38
clav24-Feb-05 2:38 
GeneralRe: Packaging & Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 3:05
professionalRavi Bhavnani24-Feb-05 3:05 
GeneralRe: Packaging & Deploying C++ Application Pin
clav24-Feb-05 3:55
clav24-Feb-05 3:55 
GeneralRe: Packaging & Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 5:20
professionalRavi Bhavnani24-Feb-05 5:20 
GeneralRe: Packaging & Deploying C++ Application Pin
r3dqu33n24-Feb-05 7:57
r3dqu33n24-Feb-05 7:57 
GeneralChanging HeaderTitle/HeaderSubTitle in Wizard97 Pin
User 2237024-Feb-05 1:36
User 2237024-Feb-05 1:36 
GeneralRe: Changing HeaderTitle/HeaderSubTitle in Wizard97 Pin
Blake Miller24-Feb-05 6:01
Blake Miller24-Feb-05 6:01 
GeneralRe: Changing HeaderTitle/HeaderSubTitle in Wizard97 Pin
ThatsAlok24-Feb-05 17:16
ThatsAlok24-Feb-05 17:16 
GeneralSet view regions for controls Pin
Rahim Rattani24-Feb-05 1:06
Rahim Rattani24-Feb-05 1:06 
QuestionCOlePropertyPage or Dialog Box? Pin
Anand for every one24-Feb-05 0:47
Anand for every one24-Feb-05 0:47 
GeneralProxy information Pin
Geert van Horrik23-Feb-05 23:29
Geert van Horrik23-Feb-05 23:29 
GeneralActive Document Pin
Pauwl23-Feb-05 21:23
Pauwl23-Feb-05 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.