First  |  Prev |  Next  |  Last
Pages: 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
How can i set the style of a CTreeCtrl within a CTreeView ?
Im using a MFC CTreeView which fits nicely with what im trying to do. I need to change the style of the nested CTreeCtrl. There is no easy way to do this, the documentation points to using SetWindowLong. void CMyTreeView::OnInitialUpdate() { CTreeView::OnInitialUpdate(); CTreeCtrl& tree = GetTreeCt... 14 May 2008 23:58
Getting IDispatch ptr calling Invoke(…)
Hello everybody, probably my previous post : http://groups.google.ca/group/microsoft.public.vc.mfc/browse_frm/thread/f611e8fa2a26b366?hl=en didn’t catch an eye of the right person, so I’ll ask it again. In short - if the method, which I’m calling using IDispatch->Invoke(..), is suppose to return another IDisp... 14 May 2008 12:56
Reading ACCDB (Access 2007) files from MFC
I used to use DAO to read an access database for some of my programs. Time moves on, and it appears that access 2007 uses another new file format. Has anyone tried to connect to the new files using MFC and the DAO classes? I was under the impression that DAO was deprecated under VC, yet access seems to have b... 14 May 2008 09:00
two projects in one workspace
hello, I'm using Visual Studio 6.0, In single workspace i have created two projects A and B, they both are console application programs, In project A i have class a which i want to use in project B, i have set dependency in project B to project A, but when i compile project B i get the error error "LNK2001: un... 14 May 2008 22:24
modify text in CComboBox
Hello, I have a CComboBox. I wanted to modify the text of one entry. So I made: myCComboxBox.SetDlgItemText(mySel, "Some new text"); But nothing changed. What I missed? Regards, -- William ... 14 May 2008 09:00
Virtual Folder Shell extension
Hi all I have a library (Native Win32) that manipulates files present in different drives/volumes. I would like to provide a layer of abstraction to the user by showing a virtual folder containing this set of files that I can manipulate(thru my library) and support all kinds of other explorer like features (cut... 14 May 2008 12:09
the shell can't find it when i double-click one file
hi all, I need that my application can automatically open some registerd type of file when i double-click this type of file in windows explorer. In a simple MDI-style application, only the following things need to be done when the app object initializes: EnableShellOpen(); RegisterShellFileTypes(FALSE); I... 14 May 2008 04:17
writing multiple files vs single file using fwrite/fopen
Hi, I have a VC++(2005) application (2 "Generator" threads creating a data buffer, and a "Writer" thread to write it). The application creates and writes about 400 files (containt ~20MB data each) The Generator threads creates next data file while the Writer is writing the previous (Generator waits until writer... 14 May 2008 12:56
show a jpg picture on a dialog
Env: WindowsXP, VC++6.00 I wonder how to show a jpg picture on a dialog. TIA ou ... 17 May 2008 04:41
Application gets slower when having ~50 dialogs in memory.
Hi, I have an MDI application. In view, I have created a property sheet. In one of the pages of this property sheet, I have to create ~50 different kinds of modeless dialogs, owned by property page. All these dialogs are needed in memory as long as the document is open in the session. I have created them at ... 15 May 2008 01:32
First  |  Prev |  Next  |  Last
Pages: 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109