Click here to Skip to main content
15,920,675 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSite Suggestion Pin
LOSTTWARE.com12-Nov-03 16:10
LOSTTWARE.com12-Nov-03 16:10 
GeneralRe: Site Suggestion Pin
Mike Dimmick13-Nov-03 3:41
Mike Dimmick13-Nov-03 3:41 
GeneralMFC VC++ 6.0 Pin
LOSTTWARE.com12-Nov-03 16:08
LOSTTWARE.com12-Nov-03 16:08 
GeneralNEED HELP BAD Pin
LOSTTWARE.com12-Nov-03 20:33
LOSTTWARE.com12-Nov-03 20:33 
GeneralRe: NEED HELP BAD Pin
Antti Keskinen13-Nov-03 0:59
Antti Keskinen13-Nov-03 0:59 
GeneralRe: NEED HELP BAD Pin
Roger Allen13-Nov-03 1:07
Roger Allen13-Nov-03 1:07 
GeneralProblem with RTL Mirroring CFileDialog-derived dialogs in Windows 98 Pin
Eriol4112-Nov-03 15:53
Eriol4112-Nov-03 15:53 
GeneralHelp with MS Data Grid and Data Control Pin
Member 65260612-Nov-03 15:19
Member 65260612-Nov-03 15:19 
Confused | :confused: Hi,
I am using the CDataGrid to display some information from a
database. I am having the following problems.

1. I am supposed to trap errors and print them in to a log file. I have mapped the Error message of the data control. The function looks like this:
OnErrorAdodc1(long ErrorNumber, BSTR FAR* Description, long Scode, LPCTSTR Source, LPCTSTR HelpFile, long HelpContext, BOOL FAR* fCancelDisplay)

I have not been able to get the Description text from BSTR FAR* ptr. Can someone help me there.

2. Is it possible to find the sum of an entire column and print it below the column. I know how to find the summation. But don't know if I can set in a column of the data grid some information that does not belong in the database.

My problem is I cannot find help on usage of the data grid/ control. Can you tell me if there is any documentation on them.

Really appreciate your help.

Thanks.



GeneralScreensaver child process croaks... Pin
ToddTTT12-Nov-03 14:42
ToddTTT12-Nov-03 14:42 
GeneralCreating a dialog from a COM dll Pin
Matt Gates12-Nov-03 14:31
Matt Gates12-Nov-03 14:31 
GeneralRe: Creating a dialog from a COM dll Pin
Prakash Nadar13-Nov-03 0:19
Prakash Nadar13-Nov-03 0:19 
QuestionHow can I convert the JPEG files to thumbnails? Pin
ElizabethC12-Nov-03 12:57
ElizabethC12-Nov-03 12:57 
AnswerRe: How can I convert the JPEG files to thumbnails? Pin
Andrew Walker12-Nov-03 18:40
Andrew Walker12-Nov-03 18:40 
GeneralRe: How can I convert the JPEG files to thumbnails? Pin
ElizabethC13-Nov-03 6:09
ElizabethC13-Nov-03 6:09 
GeneralRe: How can I convert the JPEG files to thumbnails? Pin
Prakash Nadar13-Nov-03 16:08
Prakash Nadar13-Nov-03 16:08 
GeneralRe: How can I convert the JPEG files to thumbnails? Pin
ElizabethC17-Nov-03 5:57
ElizabethC17-Nov-03 5:57 
GeneralSendInput / keyb_event in a keyboard hook Pin
OddArne12-Nov-03 12:38
OddArne12-Nov-03 12:38 
Generalbmp save file question gdi+ Pin
ptharso12-Nov-03 11:05
ptharso12-Nov-03 11:05 
GeneralReceive vs ReceiveFrom... Pin
NewHSKid12-Nov-03 9:53
NewHSKid12-Nov-03 9:53 
GeneralRe: Receive vs ReceiveFrom... Pin
Alexander M.,13-Nov-03 8:11
Alexander M.,13-Nov-03 8:11 
GeneralRe: Receive vs ReceiveFrom... Pin
Steve S13-Nov-03 22:11
Steve S13-Nov-03 22:11 
GeneralRe: Receive vs ReceiveFrom... Pin
Alexander M.,13-Nov-03 22:56
Alexander M.,13-Nov-03 22:56 
GeneralRe: Receive vs ReceiveFrom... Pin
NewHSKid14-Nov-03 1:02
NewHSKid14-Nov-03 1:02 
GeneralNM_CLICK problems Pin
ns12-Nov-03 9:30
ns12-Nov-03 9:30 
GeneralRe: NM_CLICK problems Pin
Joaquín M López Muñoz12-Nov-03 10:18
Joaquín M López Muñoz12-Nov-03 10:18 

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.