Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I click the submit button in HTML page? Pin
Jong Ha Jung10-Jun-01 18:07
Jong Ha Jung10-Jun-01 18:07 
Generalbegginner with MFC Pin
10-Jun-01 17:55
suss10-Jun-01 17:55 
GeneralRe: begginner with MFC Pin
Christian Graus10-Jun-01 22:37
protectorChristian Graus10-Jun-01 22:37 
GeneralRe: begginner with MFC Pin
Drake Elsari11-Jun-01 3:20
Drake Elsari11-Jun-01 3:20 
GeneralRe: begginner with MFC Pin
Christian Graus11-Jun-01 11:03
protectorChristian Graus11-Jun-01 11:03 
Questionwhy the scrollbar doesn't work for a dialog window? Pin
10-Jun-01 15:22
suss10-Jun-01 15:22 
AnswerRe: why the scrollbar doesn't work for a dialog window? Pin
Stan Shannon10-Jun-01 15:56
Stan Shannon10-Jun-01 15:56 
GeneralSwitching to a particular record in a database Pin
mArkcpp10-Jun-01 12:25
mArkcpp10-Jun-01 12:25 
Hello. I am using ODBC to connect to an access database. I have a treectrl in my application that lists all of the records from a particular field in the database. I need to be able to click an item in the treeview and switch to the corresponding record of the item clicked. I already know how to get the item clicked in the treeview, but now I can't figure out how to switch to the record that was clicked in the treeview. I'm also not sure I am going about it the best way. Right now I am attempting to use a filter, which I thought was easy, but I can't get it working for the life of me. I'm sure I'm missing something easy. Could someone lend some help. Thanks in advance. Here is some of the code from the OnSelchangedTree class which gets the item clicked in the treeview. (Should my filter code be somewhere else?)


m_pSet->m_TestParam=text; // the item clicked in treeview
m_pSet->m_strFilter = "[Test] = ?";
m_pSet->Requery();

My program compiles, but when I click on an item in the treeview it gives me a popup message saying "Too few parameters : Expected 2".

Thanks for any help.

mArk


GeneralRe: Switching to a particular record in a database Pin
Tim Deveaux10-Jun-01 14:42
Tim Deveaux10-Jun-01 14:42 
GeneralRe: Switching to a particular record in a database Pin
Masaaki Onishi10-Jun-01 14:54
Masaaki Onishi10-Jun-01 14:54 
GeneralRe: Switching to a particular record in a database Pin
mArkcpp11-Jun-01 14:23
mArkcpp11-Jun-01 14:23 
GeneralWM_PAINT in View Pin
BryanBHU10-Jun-01 9:00
BryanBHU10-Jun-01 9:00 
GeneralRe: WM_PAINT in View Pin
Michael Dunn10-Jun-01 9:56
sitebuilderMichael Dunn10-Jun-01 9:56 
GeneralRe: WM_PAINT in View Pin
BryanBHU10-Jun-01 10:21
BryanBHU10-Jun-01 10:21 
GeneralRe: WM_PAINT in View Pin
Christian Graus10-Jun-01 12:44
protectorChristian Graus10-Jun-01 12:44 
GeneralRe: WM_PAINT in View Pin
BryanBHU10-Jun-01 13:59
BryanBHU10-Jun-01 13:59 
GeneralRe: WM_PAINT in View Pin
Jonathon Lockett10-Jun-01 16:39
Jonathon Lockett10-Jun-01 16:39 
GeneralRe: WM_PAINT in View Pin
BryanBHU10-Jun-01 16:48
BryanBHU10-Jun-01 16:48 
GeneralRe: WM_PAINT in View Pin
Christian Graus11-Jun-01 0:33
protectorChristian Graus11-Jun-01 0:33 
GeneralRe: WM_PAINT in View Pin
Tomasz Sowinski11-Jun-01 3:01
Tomasz Sowinski11-Jun-01 3:01 
GeneralRe: WM_PAINT in View Pin
BryanBHU11-Jun-01 8:11
BryanBHU11-Jun-01 8:11 
GeneralRe: WM_PAINT in View Pin
Tomasz Sowinski11-Jun-01 0:22
Tomasz Sowinski11-Jun-01 0:22 
Generalmfc dll Pin
Nitish Kumar10-Jun-01 7:23
Nitish Kumar10-Jun-01 7:23 
GeneralRe: mfc dll Pin
Tim Deveaux10-Jun-01 12:46
Tim Deveaux10-Jun-01 12:46 
Generalchar* return problem Pin
10-Jun-01 4:01
suss10-Jun-01 4:01 

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.