Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

benjamin23

@benjamin23
About
Posts
13
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RebarWindow change child window posittion inside the reband control
    B benjamin23

    Hello all, I whant to change the possition at which the child window of a Rebar Window, in this case a toolbar window, is placed once the control is created. (padd it to the right) None of the members of REBARBANDINFO lets you specify an offset for it's child window. I could trap WM_SIZE messages and then re-position it's child everytime the window is moved, but I dont like this method. Is there any way to set the offset of a child window inside a reband control ? (whithout forcing size by means of constantly sending WM_SIZE messages) Thanks in advance. :)

    Windows Forms question

  • Dragable Menu Items
    B benjamin23

    Are you trying to be funny ? You mush think that im so stupid that i dont know what MSDN is. I appretiate your help i really do, but i believe you get the impression that im a noob here, in fact am not, i been searching the net for the last week and there's no single example on how to handle menus drag and drop operations, yes there are tons of examples on how to properly manage OLE Drag and Drop operations, and i read many of the tutorials specially the one at http://www.catch22.net/tuts/dragdrop.asp. I also know about the existence of these two messages, but thats it, i was hoping to find something a little more concrete. Thanks my fiend.

    C / C++ / MFC algorithms

  • Implementing WM_MENUDRAG & WM_MENUGETOBJECT in menus
    B benjamin23

    Well, i´ve done that, i can drag things arround in a verry wird way, only works for items inside the menu, drop doesnt work it will refuse to, items dont change, im starting to think that this will be a little more difficult than i think. 1 Lots of OLE shit involved, implement DragDropHelper, IDropTargetHelper and maybe IDragSourceHelper ? 2 What about dynamic menus & ownerdraw ? 3 No code examples not even at msdn, and i mean no where, im starting to browse chinese web pages.

    C / C++ / MFC help tutorial

  • Implementing WM_MENUDRAG & WM_MENUGETOBJECT in menus
    B benjamin23

    I believe everyone has seen the “favorites” or bookmarks menu in IE, it has the amazing ability to allow the user to drag object from outside the application (the desktop, exporer you choose), the user can also accommodate the menu items inside the menu by dragging them around. I know I’ve to set MNS_DRAGDROP dwStyle for the menu by using SetMenuInfo. I’m able to catch WM_MENUDRAG messages when I start dragging menuItems but i dont know how to continue processing this event, i know i've to return either MND_ENDMENU or MND_CONTINUE. Im barley at the beginning and I was looking for tome tips and notes about this issue, maybe someone has already done something similar before. Thanks.

    C / C++ / MFC help tutorial

  • Drag & Drop for menuitems
    B benjamin23

    Has anyone see the IE "Favorites" menu, it has the amazing abillity to accept files dragged inside the menu, you can also move items arround by dragging items up and down. I've been told that i shuld manipulate the WM_MENUDRAG message, but MSDN has documented this very poorly, it seems that the documentation / source to archieve drag & drop on menus is very hard to find if not impossible. Any tips ideas from u guys, are welcome !

    ATL / WTL / STL

  • Dragable Menu Items
    B benjamin23

    Internet explorer handles drag and drop menu items in the "Favorites" menu, you can drag items from inside the menu, or outside like the desktop, wow this is really cool, i need to get my hands on IE source code :laugh:

    C / C++ / MFC algorithms

  • Dragable Menu Items
    B benjamin23

    Exelent ! quote from MSDN: "To create a drag-and-drop menu, call SetMenuInfo with MNS_DRAGDROP." http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/menus/menureference/menumessages/wm\_menudrag.asp Thanks a lot. :)

    C / C++ / MFC algorithms

  • Dragable Menu Items
    B benjamin23

    I know its not a normal menu, but are you really shure about that, it seems a bit complex for a custom draw list view.

    C / C++ / MFC algorithms

  • Dragable Menu Items
    B benjamin23

    Anyone has seen the start menu, there's a cool thing about it. You can edit each menuitem position by dragging items, you can even create application links by dragging things in it, its a really cool feature. You can edit your menu on the fly ! I've searching in the net for something like this but nothing came up, i think this would requiere a lot of codding correct me if im wrong. Maybe on of you guys know the anwser for this little but awezome hidden abillity of the menus. :)

    C / C++ / MFC algorithms

  • IP/Host baning
    B benjamin23

    [LPCONDITIONPROC lpfnCondition] Procedure instance address of the optional, application-specified condition function that will make an accept/reject decision based on the caller information passed in as parameters, and optionally create or join a socket group by assigning an appropriate value to the result parameter g of this function. defines a callback its a verry intresting option but not code samples are supplied by MS any ideas ?

    C / C++ / MFC question data-structures

  • IP/Host baning
    B benjamin23

    How can i ban a Host or IP address before i do my accept() call ? Can i pool the connection queue ? Now im doing this: accept->check for valid IP->If it's valid(do nothing)else->close the socket. i belive this can be a bit insecure i dont really know. I what to call my checking routine before doing the accept() any ideas ? -- modified at 19:16 Sunday 13th November, 2005

    C / C++ / MFC question data-structures

  • Retrive COM Interfaces
    B benjamin23

    The link has been verry userful, still leavme some cuestions: supose i have an instance of "Word.Application" I dont know if ".Visible" exists as a property or even a method, the same could happen to ".WebPagePreview" it's a method but my program doesnt know that i need to retrive the collection of methods and propertyes right before i create the object, this whay i can parse for example a .txt wich contains the methods to call or the variables to set.

    COM com

  • Retrive COM Interfaces
    B benjamin23

    Hello. I need to retrive a all Interfaces (methods) and propertyes from a certain COM object i dont know realy where to start... I'm there aren't many sources exept for some Object Browsers but no sources X|

    COM com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups