|
well yes i know that much .. but say if i am making a shell
and it doesnt show up in my system.... or use litestep or geoshell for example.. how would i write the code for it to work.. is it a com option or an executable? or is it only loaded through the explorer shell...
|
|
|
|
|
I am looking for a hex editor control that I can use in an MDI type application. Every hex editor that I found has be designed as a standalone product. I am looking for something that could drop into a Doc/View type situation. Any suggestions?
|
|
|
|
|
I am looking for a time line or scheduling control that could be used to implement the following situation:
As an example, I have five deliverly men scheduled to work from 9:00 to 5:00. I would to display their names in a column on the left of the screen with a time line across the bottom. For each person I would like to show a bar that covers the times of each of his scheduled appointments. Each bar should show the start/stop time of the appointment and be lined up with time axis across the bottom. Zooming, panning, and printing would be a plus!
Does anyone know where I could find such a control???
Thanks,
Don Sanders
|
|
|
|
|
Will this do???http://www.codeproject.com/datetime/bcgdatetime.asp
|
|
|
|
|
Hi,
Is there a good site where I can get information about
how to build good portals with good techniques and samples.
|
|
|
|
|
Yes - this site!
Well - not quite but in the next few weeks we'll be adding more site-building scripts to help you build your own sites.
|
|
|
|
|
Can someone please post a simple class of functions which export DIB's to different widely known formats such as PNG,JPG,ect. I've spent hours searching the net and downloading different libraries for this code.
|
|
|
|
|
for 24-bit DIBs, it's almost simple. unfortunately, in general, it's not simple.
DIBs come in many different flavors and it's ncessary to translate the DIB to a common intermediary format (such as raw RGB) before you can give it to any of the public doman PNG, JPG, TIFF, etc. libraries.
you might want to check out ImgSource : http://www.smalleranimals.com . this is a shameless plug, since i wrote it. but, at least i can claim to know what i'm talking about when i say it can handle DIB->RGB and RGB->TIFF,JPG,BMP,PNG,PCX,TGA,EMF, etc..
the source is available, so you can always figure out what it does and tailor it to suit your needs.
-c
|
|
|
|
|
After going through like 5000 lines of Microsoft code I am still no close to implementing simple support for playback of multiple sounds at the same time. Pehaps somebody can create a simple wrapper class with simple functions like
int addtoplaylist(LPSTR filetoplay)
adds wav file to playlist, and returns an number
removefromplaylist(int soundnumber)
checksound(int soundnumber) cehck if sound is still playing
adjustvolume(int soundnumber)
|
|
|
|
|
How do you check to see if there is a CD loaded in the CD-ROM when the drive door is closed, and how do you differentiate between the drive door being open/closed and the door being closed but the tray empty? I'm using assembly language, but even general info on this would be useful.
Thanks.
|
|
|
|
|
I would like to monitor ALL activity on the parallel port, but I haven't the faintest idea how to do this. Could anyone give me some clues?
Thx
|
|
|
|
|
Perhaps you find here some information http://www.sysinternals.com/portmon.htm
|
|
|
|
|
I would like to play a movie clip using DirectShow on my dialog-based app. Is this possible?
Does anyone have a (working) sample code that does it, or maybe an article or web site?
preferably non-full frame.
Thanks a lot in advance.
|
|
|
|
|
Joe,
I am working on a article concerning video playback in response to the article
"Multimedia Streaming Synchronization Mechanisms Under DirectShow" - An overview of three methods on how to perform multimedia streaming by Stephane Rodriguez.
Can take a week or 2 though,
if you want to see example code, I could send you the preliminary (but working) code.
Stephanes code works on PCs with little CPU and Video Cards of less than 4 MB videoram.
My code works better on >= 8 MB Video Ram cards.
Best Regards,
GBO.
|
|
|
|
|
If you could really give me the example code, I really appreciate it.
Btw, it is not a win32 app, is it? Because I am really new at this DirectX stuff, and I already have my project half done in an MFC dialog-based app. All I need to do now is the ability to play a movie clip file (non-streaming) using DirectShow.
Once again, thanks a lot.
|
|
|
|
|
Can anyone submit an article on patching binary files?
I've tried myself, but the results are not very good: I get a patch file as big as the file compared
What I need is something like RTpatch, but free and with sources
If someone is interested I can send him my not-very-good code as a starting point.
Thank you all
Alessandro Vergani
|
|
|
|
|
Have you looked into the GNU tools for patching? They're free under GNU copyleft, provide source and are available on most platforms including Windows. Check any GNU archive for a copy or see the Gnu web site for more information.
|
|
|
|
|
The GNU tools (diff and patch) are good only for text files.
I need a patcher for binary files.
|
|
|
|
|
They handle binary files in CVS, so some of the gnu tools must have been adapted to do this.
|
|
|
|
|
You should investigate the patch dll that comes with the Microsoft Windows Installer SDK.
This DLL has a function that accepts two files and outputs a third file that contains the 'patch' information to cause the first file to be transformed into the second file.
Another function in the DLL can 'apply' the patch.
There are various options for compression and such in the API.
|
|
|
|
|
I'll check it... and if it works good, maybe I'll write an article
Thank you.
BTW: These API are not documented (apart in the PatchApi.h header)
|
|
|
|
|
I am trying to design a GUI for a java application for a project I am working on.
Most of the available examples and refernces are for Applets,so I am looking for some
reference material for designing GUI's in Java Applications!
How do I go about displaying a gif in a Java Application..
using an applet - drawImage() is used, but is not effective it would appear with an Application.
The gif I am displaying is that of a blank Backgammon board.
I am also trying to find out how to represent the board, or divide it up so that when the user
gives their choice of where to move their chips on the board, the game will know where
on the board the player is refering to.
If anyone can assist me with this i would be very grateful!
|
|
|
|
|
Developing Professional Java Applets, by K.C. Hopson and Stephen E. Ingram, ISBN 1-57521-083-5 had examples of how to display graphics with various file formats. There shouldn't be too much difference in doing this for an applet or an application. I even saw code at one time that would let you use the same source code as both an application and an applet.
There should also be several examples on the web. I know I've run across quite a few discussion on graphics topics like double buffering. It shouldn't matter too much if the examples you run across are for applets either. The graphics techniques will most likely be the same.
|
|
|
|
|
How about a non-dockable control bar child of CView.
I have an mapping application that needs a scale bar floating within the CScrollView client area. I tried experimenting with owner-drawn CButton but it scrolls too when the client area is scrolled! I also tried CControlBar and successfully restricted its dragging within the client area. But if we move the mainframe, ugh!! And it is always top window. So if we open several documents or views the control bars are sprawled all over!!!
Requirements:
1. Non-docking
2. Can be dragged around client area but...
3. always stays within the client area
4. Preferably sticky on client edges
5. Moves when the childframe is moved
6. Not top-most window
|
|
|
|
|
This really doesn't sound hard.
My approach would be to make a standard child-window (of the view-frame). By being a child it will float above the view. Handle the WM_GETMINMAX handle to contain any movement to the view->GetClientRect [any coord tweaks necessary]. In the same handler you can weight positioning of the window when reaching the edges.
You would also have to update the position of the window when its parent moves. A few dozen lines of code at most!
Ray
|
|
|
|