This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (458 messages)
#30513-Wake Up List Box
Message #30916
Hi John, > Thanks! Now I'm looking for an example of a status window… a > modeless dialog that gets updated while other processing takes place. > (Some of the processing will be happening within DLLs.) I've made a > class for this dialog, but I haven't found a clear…
Reply to message #30513
#30613-MFC Help Contradiction
Message #30709
Gary— I had already found out about m_bCloseOnDelete by the time I got your message, but I didn't know the bit about its use varying by the type of ctor used. Thanks for the info. Justin
Reply to message #30613
#30679-popup child window
Message #30708
After I called BringWindowToTop, the WM messages no longer went to the button, they all went to the new window. But the button still covered by the new window! Chit
Reply to message #30679
FindWindow Question.
Message #30707
I am writing a Data Acquistion Simulation application and am having a problem with FindWindow. I want to communicate between two executing programs and tried to use FindWindow to get the pointer to one program from within the other. I was able to get the following to work: CWnd* pCWnd;…
#29991-Invisible Scroll Bar
Message #30706
It did work this time, chris. Thanks a lot. BTW, I found out using CListBox.Create can also generate the horisonal scroll bar. Terry
Reply to message #29991
#30588-Unfolding Dialogs
Message #30705
Marion, You may have more than one solution to accomplish it. A- If you don't have lots of "expanding" dialogs, you may show a bigger dialog on top of a smaller and simpler. When the user pushs the "More" button, save the dialog's position and pass it to the bigger…
Reply to message #30588
Adding Records
Message #30704
I have a question regarding CRecordsets. Here's the situation: 1) If I have an empty table, I can insert as many records as I want w/o a problem. 2) If the table is not empty, trying to add a record with the same routine fails. The failure is caused by…
read-only edit box
Message #30703
Some time back, I requested information about displaying read-only text in an edit box so the user could see it, but the user wouldn't be allowed to highlight it or put the cursor in the field. (The read-only property still allows the user to use the cursor and highlight.) Bob…
Q113815 and more
Message #30702
I am still getting the "General error: Unable to create file buffer" as described in Q113815 even after patching ever CRecordset in my app. I have even put a breakpoint on line 1187 of dbcore.cpp for when (m_pDatabase == 0). This should break if any of my code doesn't close…
Access via Internet
Message #30701
Hi Brian: Is it possible to access this forum via the Internet? Thanks!
#30669-CListbox memory limit?
Message #30700
Yes (in 3.1): Max of 32,767 items Max of 32K item data and 64K string data, so with LBS_HASSTRINGS, 5440 items, and 8160 without. If this is a limitation, you might look at VLIST.DLL (available in GO WINSDK forum library). If you need this, you might be interested in my…
Reply to message #30669
Tooltips & in-place OLE
Message #30696
To all, I have included tool tips (TTIPS2) in my application, and while running stand-alone, things work well. However, the app is an OLE full server supporting in-place activation, editing, etc. The tips and flybys don't work while in-place. I have changed the class type of the toolbar in ipframe.…
#30596-Progress Meter Dialog?
Message #30694
Thanks, Steve. I had looked through there before but had somehow missed it. -Kip
Reply to message #30596
display edit smoothly
Message #30693
I am building a progress indicator dlg. There is a edit control in the dlg to indicate what part of computation is computed. I defined a CString, m_sEdit, attached to the edit control and appended string to it during the process as following m_sEdit += "More infor"; Then I call…
Undocumented Windws Book
Message #30691
>BTW, Do you havce the book Undocumented WIndows (Matt Pietrak, et.al.)? >>No…why do you ask? I was/am having a major problem implementing there FileCdr code in a visual C++ Large model. It's interesting code that will permit yopu to recieve the messages intended for filemanager whenever a user makes any…
#30672-MFCJournal Issue #2
Message #30690
I just got my copy yesterday, so there is hope. Keep waiting for a while yet. Ken
Reply to message #30672
OBDC and Wildcards
Message #30689
I have a question. I am using the database class's from MFC. I have everything working fine. I have paramaterized the m_strFilter and this works fine. I am using the paradox driver for the time being as all my old data is in paradox. My question is how does one…
Win Socket Info?
Message #30688
Where do I find information on how to use Win Sockets? There does not seem to be much info on it in the Developer CD ROMS (or am I just looking in the wrong place?). Art
Screen saver with MFC
Message #30687
Has anybody knocked out a screen saver using MFC and its associated Wizards? If so, can you point me to some sample source? Thanks /// JPG
Viewex Sample GP Fault
Message #30686
I am trying to use the viewex sample project as a model for one of my applications. When I run the sample application I get a GP Fault in GDI.EXE at 0001:42B1. Using Code View I determined that the error occurs at line 228 in inputvw.cpp. The line is ::SendMessage(hWndChild,WM_PRINT,(WPARAM)…
#30672-MFCJournal Issue #2
Message #30685
I've got my copy of MFCJ #2. It arrived a while ago. Keep witing… Tim Bergel
Reply to message #30672
#30381-MFCJournal Issue #2
Message #30684
Mary, An electronic edition of the MFCJ: As far as I am concerned this would be a great idea. Advantages invclude: I can cut and paste source code. Faster mail (and lower mailing costs) No piles of old magazines cluttering my house (actually because you nice people at SFA use…
Reply to message #30381
Inv. HWND in CFileDialog
Message #30683
I'm getting the following 3 errors in the trace window when I create my CFileDialog: err SKMGR 0587:A925: Invalid HWND: 0000 err SKMGR 0787:17B2: Invalid HWND: 0000 err SKMGR 07BF:104A: Invalid HWND: 0000 The errors seem to be occurring in ::GetOpenFileName(&m_ofn) called in CFileDialog::DoModal(). Every thing seems to be working…
#30366-User-defined control???
Message #30682
Steve, I don't know if there is a copy of Brockschmidt's article on CIS or not. You might try looking in MSDN (Microsoft Developer Network). Mark
Reply to message #30366
AFXDLL and /GEf
Message #30681
Don, We are having a problem getting our inline functions to expand. We are using the MFC dll (_AFXDLL) which requires that we use the /GEf compiler flag. This flag apparently knocks out inlining. I have experimented with the sample program DIBLOOK (although it doesn't use mfcdll) and when I…
#30461-Checked listbox
Message #30680
Jan, >thanks for the answer but you answered to my reply to Ed (Pinpoint, 76244,123) he was posting the original question about a listbox containing checkboxes. Sorry, Jan. Maybe CIS screwed up, or maybe WinCIM left off the part of your reply that identified it as a reply. Mark
Reply to message #30461
#30670-#popup child window
Message #30679
>> this time it DID NOT cover the small button (which means it is even worse!)
Reply to message #30670
#30552-ODBC Tales
Message #30678
Ronald, The beta will be underway Real Soon Now, and is supposed to be narrow and fast. If someone intends to lean on the drivers and provide good feedback and can communicate those facts to the appropriate parties, they might have a good chance of getting in even though it's…
Reply to message #30552
#30672-MFCJournal Issue #2
Message #30677
Nicholas, I received one. It is a great issue! I'd wait a while before dropping "A" bombs. There's got to be a law against that somewhere on the books. Tom
Reply to message #30672
#30460-Migrating C-based Ole 1
Message #30676
Eric, If I choose my second method, I'll need to do the same thing you are doing. Unfortunately, Microsoft has not responded to these messages (I also sent another directly to the sysop). This is disappointing. Maybe they're saying we won't even think of helping you unless you give us…
Reply to message #30460
CRecordSet::Open()
Message #30675
Dear SYSOP, I've written a DLL containing among other things a function that opens an Access 1.1 database. When this function is called by a small C++ program, there is no problem. But this fuction is supposed to be called by a more complex application written with Visual Basic. In…
LoadString failed
Message #30674
Dear SYSOP, I've noticed that MFC sometimes put a message in DBWIN that says: File dbcore.cpp, Line 51, Assertion Failed! Looking at that code, it seems that a string supposed to be in the string table is not found. Of course because it isn't in the string table. So my…
#30471-Dynamic Button Bitmaps
Message #30673
Thanks for the help Brian. I'll go and get the article. – Russell Curgenven, Written 12-Jul-1994 @ 16:37:59 Using: Windows NavCIS SE v.1.2
Reply to message #30471
#30388-#MFCJournal Issue #2
Message #30672
Has anyone actually received this issue? I am about to call these clowns and drop the A bomb on them? But if anyone has received their issue? I will hold out a little longer. Dan Pav
Reply to message #30388
Is there a network API ?
Message #30671
Hi there. Is there any way I can find out, from my VC++ 1.5 app, whether or not a user is logged onto a network and if so his/her userID ? Thanks, Ciaran.
#30546-#popup child window
Message #30670
After I put the WS_CLIPSIBLINGS in my CreateEx, when I clicked the small button the new child window popup and this time it DID NOT cover the small button (which means it is even worse!). And as before if I moved the cursor to the area where the new window…
Reply to message #30546
#CListbox memory limit?
Message #30669
Is there a memory limit for a CListBox using the AddString member? I can't seem to find a reference to it apart from receiving the LBN_ERRSPACE return code. – Russell Curgenven, Written 12-Jul-1994 @ 16:21:18 Using: Windows NavCIS SE v.1.2
#30660-MFC 2.5 and 3d controls
Message #30667
Rick, CTL3D comes with the docs so you'll be up and running in no time, Jan
Reply to message #30660
Printing to Metafile
Message #30666
While I want to take full advantage of the print preview features the view has to offer, I have to override the actual printing to go to a metafile. I've overridden OnPreparePrinting(…) such that the actual printing does not call DoPreparePrinting(…) since I don't want the print dialog to come…
AfxMemoryCheck Addition?
Message #30665
Hi, I am having a problem with memory allocation a deletion. I am getting an assert error in AFXMEM.CPP at line 370. Using MSVC for NT 1.1. This indicates that the doublely linked list is mixed up. The previous pointer for the current block is NULL, but the first block…
#30522-Proper Thread Viewer!
Message #30664
You are probably looking for an offline reader. At least most have built in what you are asking for. I use Ozcis (DOS-based) for two years now an am very pleased. GO OZCIS. It is shareware and costs 20$ to register. There will be a Windows version RSN. I ordered…
Reply to message #30522
#30543-Borland OWL vs. MFC
Message #30663
You might look at Watcom 10.0, which claims to support both templates and MFC on both 16 and 32 bit platforms. I plan to get a copy after the current crunch is over — then we'll see if it can replace VC++ as our primary compiler.
Reply to message #30543
#30622-MFC 2.5 and 3d controls
Message #30662
Rick, >I have Visual C++ 1.5 and would like to know how to get those nice 3d >controls that I see in newer windows programs. Download CTL3D.ZIP from the MSDN Forum, Lib 3. It is also on the MSDN CD. Michael Meadows
Reply to message #30622
#30602-print page size
Message #30661
Charles, >yeah and Bil..Uh Bill Gates personally is watching.. Oh yes, he's not only watching…he speaks to me personally through a filling in my tooth. >BTW, Do you havce the book Undocumented WIndows (Matt Pietrak, et.al.)? No…why do you ask? Michael Meadows
Reply to message #30602
#30630-#MFC 2.5 and 3d controls
Message #30660
Once I have the DLL's then what, how do I tell VC++ about them? I'll get the files from here then maybe my question will be answered, but just in case I though I would ask.
Reply to message #30630
#30434-Serialise – Schemas ??
Message #30659
Instead of messing around the the schema's we just always write a WORD as the first thing in each objects Serialize. This way our objects are self-updating. Also this is great because if we get a corrupt file and the WORD isn't valid we use AfxThrowFileException to stop the process.
Reply to message #30434
Vga Palette
Message #30658
Hi, I have seen, on a painting program, an interesting effect : when the image is in grays colors the program, running on a standard VGA 16 colors enviroment, changes the system palette with 16 levels of grays and then it displays the image. The result is a colorless image…
REPORT
Message #30657
I am working on a database application in C++ using MFC. I would like to include several canned reports of certain queries / tables. Can any body recommend certain VBX's and/ or DLLs that Could be of help. Thanks a lot!!
Page 1 of 10