Does anyone know if this is possible...
have a function be able to detect which function or class called it without passing any parameters?
been thinking about this one...
rdalton
Hello,
I'm working through a crazy bug right now with the UpdateData(false) command. I'm trying to update ordinary text that represents a counter in my dialog. Every second I format the string and issue the UpdateData(false) command, which then calls the DataExchange function and so on...While...
Hi,
I'm building a small audio application that uses multiple threads for audio processing and gui control. I have a slider bar that controls the play position in the audio file. The slider bar is incremented every second, and I have some text, displaying the time, that gets updated. The...
I have a dialog application that spawns 4 threads with the Highest priority, but I also want to give the main thread the Highest priority. Can someone help me do this? I've tried theApp.SetThreadPriority(), but when I check the process in taskmanager it's priority is still normal, and I have to...
I'm wanting to display a progress bar while the application calls a function that goes out and queries all the serial ports for a certain piece of hardware. Can someone inform me of how to use a progress bar in my dialog app and keep it in close sync with the actual querry time? thanks.
rdalton
I'm tyring to embed a console type window in a dialog application. I wan't to use the console as a type of log window so the user can see what the application is doing behind the scene. Therefore, the output should be redirected to the console and I would like to use cout and printf commands...
I'm trying to add some customized code when the user chooses to save or saveAs in a SDI. I have a function that
handles the command message for ID_FILE_SAVE and ID_FILE_SAVEAS from either the toolbar or the "File" menu, but the code is not getting called. A saveAs dialog box opens...
I'm using mmioRead to read in the data chunk of a wav file, but if the file has two channels I want to seperate each channels data, which is interlaced. Does anyone know any function that will seperate the channels data? Right now I'm reading everything, then looping through the returned array...
In the mainframe menubar I have a HOWTO option under the help menu, I want the function to open a text file using notepad or some other default txt viewer. How do I launch a program and open a file from within my application? thanks.
I started a project that I've been building on for a while. I'm now finishing the project, but I'd like to be able to change the project name. Is there a way to do this? I've gone through every property page and nothing will let me change the actual project name. What I thought would be an...
I'm trying to copy a dialog from one project to another, so I don't have to lay it out again. Is there anyway to do this? I've exported other resources (ie bitmaps), but I can't figure out how to transfer the dialogs. Thanks.
I'm using a custom tree control in my application and I want to add an event to the control. I would like to handle the "On Double Click" event. The control has no events that can be handled. How can I add one? Thanks.
I'm using the SDI framework in my application. I just added a customized treeview object to a couple of my FormViews. The object needs to call the SubclassDlgItem function upon initialization, but If I try to open a file or start a new file, I get an assert failed message calling...
My application uses the SDI framework. At one point I have a popup dialog that I want to populate with data from the document class. Can I get a pointer to the document class without pasing one during construction?
I'm trying to use a map containter in my application that is based on the document/view arch. I want to add the map as a member variable of the document, but when I add the line "using namespace std;" to doc.h I get a load of errors from ostream.h saying ambiguous symbol. Anyone have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.