[Well, since there is no Shell Extension forum...]
I have a Shell Context Menu Extension. But I want to have more control over where the Menu Item (actually a Popup Menu Item) is inserted at. For example, WinZIP adds its item after the "standard" commands, but before the seperator and "Send To" item.
I want to do the same thing; I want to insert a leading seperator (if possible), my Popup Menu Item, and a trailing seperator (if possible).
I am having trouble trying to customize the insert location in this fashion. I do not beleive it is safe to adjust the "insertion point" that the Shell passes to me when it initializes the extension, but what other way could it be done?
Open to suggestions...
-=- James (Sonork:100.21837)
[Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"!] [Get Delete FXP Files Now!]
Programming in W98 I use _inp() and _outp() in my code to read and write the single bit on parallel port (0x0378-0x037f).
Now in W2000 (or NT system) this code create an error.
How I can move the single bit, or read it, in W2000.
Is it necessary to make a driver?
Now I'm using driver same GiveIO or UserPort but Is this the only solution?
What is the simplest way?
I try to do it, but my question is: how I can write/read the 8 bit of the "status register 0x379" or "control register 0x037a".
In W98 I use _inp(0x378,xx) or _outp(0xo37a,yy) and I can move the single bit of the registers... but now with CreateFile, WriteFile and ReadFile how I can to direct singles resgisters?
My company recently switched over from Vis 6.0 (thank the holy of holies..), but there is an odd corruption which occurs when a change occurs to the resources in the project. Multiple errors occur such as "STRINGTABLE not found" and other identifier-missing-type errors when compiling the newly changed .RC . Of particularly interesting note - in the current .RC file there exists an .MDB file, which if taken out of project prior to changing a resource, and compiling, will not cause such errors. I have NO IDEA what dependency might be linked to that - its pretty crazy... If anyone has a CLUE as to what I can do to keep this from happening, I would give my first child at this point...
1. I add a new record to an Access table;
2. then, I want to fill a ListCtrl with ALL the record from this table
--> problem, the new record isn't present !
if I wait a little with a loop :
for(long i=0; i<1000000; i++); )
then the new record is here.
Is there another thing better ?
How can I do to be sure that the new Recordset will contain the new record ?
// then I call a function to fill a ListCtrl with all the data from the table
while(MyRecord.IsEOF() == FALSE)
--> I have to do a loop before I re-open the Recordset in the FillListCtrl() function otherwise the new Record isn't in the Recordset !
I've been working on a project with two documents types (one controlling a pair of cameras & their capture, one for DIBs). Implementation of the first document type (cameras) seemed to go smoothly, with its own;
- string table entry
- CDocument derived class
- CView derived class
- CMDIChildWnd derived class
This class also handles one message from a button on the toolbar. I've also set-up all aspects of the second document type (apart from it uses a standard ChildWnd at the mo) but as soon as I add it to the document template neither document type will start up. i.e. I'm not presented with an dialog option for which document type I want to start with. Has anyone got any ideas why this might be?? does it sound like I've put in dodgy string table entries or is it likely to be something else??
Dont worry about answering this post. I've found that the quickest & simplest way to fix the problem in my case was to just start again and re-import all the classes I've created. I'm gonna put it down to me messing with the string table entries and 'resource.h' but if I find a more specific reason will post it here.
Last Visit: 31-Dec-99 19:00 Last Update: 1-Dec-23 6:08