Click here to Skip to main content
16,012,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Puzzling OnInitialUpdate() behavior for CHtmlView derived class Pin
Gavin Jerman23-Jul-02 4:16
Gavin Jerman23-Jul-02 4:16 
GeneralRe: Puzzling OnInitialUpdate() behavior for CHtmlView derived class Pin
Nish Nishant23-Jul-02 6:38
sitebuilderNish Nishant23-Jul-02 6:38 
GeneralGetting the class In the class view. Pin
grshankar23-Jul-02 1:13
grshankar23-Jul-02 1:13 
GeneralRe: Getting the class In the class view. Pin
567890123423-Jul-02 3:51
567890123423-Jul-02 3:51 
GeneralNo don't Pin
Abin23-Jul-02 12:40
Abin23-Jul-02 12:40 
QuestionHow to implement Drag and drop Pin
Bhikshapathi Gorantla23-Jul-02 0:53
Bhikshapathi Gorantla23-Jul-02 0:53 
AnswerRe: How to implement Drag and drop Pin
cycosi23-Jul-02 2:45
cycosi23-Jul-02 2:45 
GeneralUpdating records in CArrayRowset Pin
User 2237023-Jul-02 0:52
User 2237023-Jul-02 0:52 
Hi,

I am using a CArrayRowset to populate rows in a virtual listview from a Jet 4.0 database.

As the user moves back and forth through the list the underlying CArrayRowset is left pointing to the furthest record loaded sequentially from the database.

My question is about updating data. The user selects an item in the listview which is different to the record currently pointed to by CArrayRowset, this item is cached in the CArrayRowset and so does not cause the record pointer to move.

To update this I need to be able to move the CArrayRowset's record pointer to the selected record and this is the bit I can't quite work out - I've looked at the CBookmark class briefly but it seems to me that in order to get a bookmark to the required row, I'd have to be on the row anyway which kinda defeats the whole purpose - maybe I'm misunderstanding the use of this class.

Can anyone help me with this one? I've done a quick search through deja but not found a great deal of information. This isn't the first time I've hit this issue with CArrayRowset, in the past I've avoided the problem by using a second rowset to edit the record, this worked OK because the listview contained lots of columns and a row displayed an editing dialog.

In this case, however, I want the editing to be inplace and using a second rowset seems a bit messy, especially when considering how to handle deletions.

Thanks for reading this message.

Regards,

Jason Wilden.



modified 10-Jul-19 21:02pm.

GeneralUsing UpdateResource() to change app's icon Pin
kb23-Jul-02 0:49
kb23-Jul-02 0:49 
QuestionHow To Code a Meter To Track the Amount of Data Sent/ Recd from some Internet Connection Pin
Vikrant Kapoor22-Jul-02 23:46
Vikrant Kapoor22-Jul-02 23:46 
GeneralCHtmlView::Create issue Pin
Nish Nishant22-Jul-02 23:40
sitebuilderNish Nishant22-Jul-02 23:40 
GeneralRe: CHtmlView::Create issue [more info] Pin
Nish Nishant22-Jul-02 23:43
sitebuilderNish Nishant22-Jul-02 23:43 
GeneralRe: CHtmlView::Create issue [more info] #2 Pin
Nish Nishant22-Jul-02 23:52
sitebuilderNish Nishant22-Jul-02 23:52 
GeneralRe: CHtmlView::Create issue [work-around] Pin
Nish Nishant23-Jul-02 0:26
sitebuilderNish Nishant23-Jul-02 0:26 
GeneralRe: CHtmlView::Create issue [work-around] Pin
Alexandru Savescu23-Jul-02 1:36
Alexandru Savescu23-Jul-02 1:36 
GeneralRe: CHtmlView::Create issue [work-around] Pin
Nish Nishant23-Jul-02 1:41
sitebuilderNish Nishant23-Jul-02 1:41 
GeneralTab control with the images.. Pin
Neha22-Jul-02 22:27
Neha22-Jul-02 22:27 
Questionwait/sleep func for win32 console apps? Pin
Sprudling22-Jul-02 22:09
Sprudling22-Jul-02 22:09 
AnswerRe: wait/sleep func for win32 console apps? Pin
Daniel Lohmann23-Jul-02 1:13
Daniel Lohmann23-Jul-02 1:13 
GeneralRe: wait/sleep func for win32 console apps? Pin
Sprudling23-Jul-02 8:28
Sprudling23-Jul-02 8:28 
GeneralRe: wait/sleep func for win32 console apps? Pin
Daniel Lohmann23-Jul-02 9:58
Daniel Lohmann23-Jul-02 9:58 
QuestionHow to determine the device? Pin
bigcake22-Jul-02 20:53
bigcake22-Jul-02 20:53 
Generalfopen failes Pin
GBlank22-Jul-02 20:41
sussGBlank22-Jul-02 20:41 
GeneralRe: fopen failes Pin
Stuart Dootson22-Jul-02 20:51
professionalStuart Dootson22-Jul-02 20:51 
GeneralRe: fopen failes Pin
Alexandru Savescu22-Jul-02 21:45
Alexandru Savescu22-Jul-02 21:45 

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.