CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Ali Imran

Page 1 of 19 1 2 3 4

Search: Search took 0.08 seconds.

  1. Re: Add Picture to rich textbox using pure win32 api

    Too late reply from me, bit may help readers who end up searching in google:

    Enable the richtext with following styles or sending message when creating it
    SendMessage(hwnd, EM_CANPASTE, CF_BITMAP...
  2. Replies
    9
    Views
    2,346

    Re: export from dll

    Basically when you need to load a DLL in vb the dll must be replacing vb strings with BSTR.
    The same way I assumet the function you mentioned may be accepting BSTR.

    Apart from this there is a...
  3. Replies
    3
    Views
    1,866

    Re: dll in dev-cpp

    For other readers this link might help:
    http://www.apitalk.com/document.php?id=1184209001_1

    regards
  4. Replies
    3
    Views
    9,294

    Re: RichEdit based Win32 example

    Make sure you load library richedit32.dll or latest version richedit20.dll before creating richedit control.

    create rich edit using simple CreateWindowEx


    int unique_ID = WM_USER+200;
    ...
  5. Replies
    9
    Views
    2,346

    Re: export from dll

    Well the fact is you might not be definite about the specs of the function. The types of the arguments is what am talking about. Are you 100% sure function rtcMsgBox is accepting both arguments of...
  6. Replies
    3
    Views
    1,709

    Re: IMPORTANT: Security Issue

    Sorry I didn't get notification of your reply Mr.Brad.
    I will email in while.

    regards
  7. Replies
    3
    Views
    1,709

    IMPORTANT: Security Issue

    There is a security issue in article submissions. I won't disclose it here because some members might take advantage of it and start stealing cookies of others. It is XSS hole in some module. I...
  8. Re: How Can I Disable Maximize Button for Console Window?

    try this



    DWORD newStyle = WS_CAPTION | DS_MODALFRAME | WS_MINIMIZEBOX | WS_SYSMENU;
    SetWindowLong(hConsole , GWL_STYLE, newStyle);
    SetWindowPos(hConsole , NULL, 0, 0, 0, 0, SWP_FRAMECHANGED...
  9. Writing File using CreateFileMapping - Please help

    Hello gurus

    Can anyone please provide be a complete example of writing large files fast using File Maping functions ?

    Following code cause application level crash



    char *out =...
  10. Replies
    8
    Views
    4,029

    Re: Linker problems in MinGW

    One more thing, you might need in future.

    Some library file for example libabc.a, and it is in the folder that contaions your code and is not in library folder. you will supply just the name of...
  11. Replies
    7
    Views
    1,726

    Re: Wav file doesn't play fast enough

    Another link also might help.

    http://www.apitalk.com/document.php?id=1184208002_1

    regards
  12. Percentage calc formulla needed - little maths

    Description:

    We have total number of processes 'T' which are being performed. e.g. 10.

    Then we already have number of processes done 'D' and number of processes pebding 'P', and we have percent...
  13. Replies
    8
    Views
    4,029

    Re: Linker problems in MinGW

    May be a bit late reply, but specify a library to be linked, especially the one your require

    -lgdi32

    it will automaticaly link libgdi32.a.

    I hope it helps to next readers,

    regards
  14. Replies
    2
    Views
    978

    Re: CreateWindowEx - no result

    Resolved.

    Actaully am polishing my library to port it to MSVC and instance of parent class passed did not have valid handle, and it was destroyed before being assigned as parent window.

    Thanks...
  15. Replies
    2
    Views
    978

    CreateWindowEx - no result

    Hello gurus.


    Problem:

    function CreateWindowEx does not create statusbar window, where everything is fine. I am using Visual Studio 8. See following code please:


    HWND hwnd =...
  16. Replies
    3
    Views
    826

    Re: compress more file whith gz..

    You can use a premade class to create tar, bz2, tar.gz, zip files very easily.

    http://lk.users.phpclasses.org/browse.html/package/945.html

    I hope it helps.

    regards
  17. Replies
    3
    Views
    948

    Re: Extra \n where unnecessary...

    The cuase may be either \n or \r characters before <? and/or \n or \r after ?> have been saved within the code files.

    I also want to add here, that your script will not work perfect when saving...
  18. Replies
    7
    Views
    1,282

    Re: Page download - cookie problem

    Great PeejAvery thanks for your concern.
    I just was interested in quick solution so that I meet deadline and I got class called 'snoopy' http://snoopy.sourceforge.net/, so did not reinvent wheel :)....
  19. Replies
    7
    Views
    1,282

    Re: Page download - cookie problem

    Its not my script that needs cookies but the remote site that writes cookie for the first time it is fetched by php, and from second attempt it must load other pages rather than 'agree' page. So...
  20. Replies
    7
    Views
    1,282

    Re: Page download - cookie problem

    I resarched some abotu curl.
    Unfortunately constant CURLOPT_COOKIESESSION is not defined even in php 4.4.6.
    I actually cant go on higher version than this 4.x.x since this is the requirement.
    ...
  21. Replies
    7
    Views
    1,282

    Page download - cookie problem

    What I am doing:
    Simply downloading page using
    file_get_contents('somesite_url'), or implode('',file('somesite_url'))


    Problem:
    The page requries a cookie be present on client computer which...
  22. Replies
    1
    Views
    865

    Re: add flash into a richedit control

    Does your flash object work fine out of richedit, I mean beng child of any other window ?

    Kindly post the code that you used to create it, so that helpers try digging out after seeing the code.
    ...
  23. Replies
    25
    Views
    1,692

    Re: Inverting regions -

    1. Select a region? using mouse, if so then it includes drawing, do capture mouse events and draw in WM_PAINT.
    2. "invert the contents", I could not follow this.

    regards
  24. Replies
    1
    Views
    1,057

    Re: Dialog Background Color

    You mean drawing something on the dialog ?

    If so then you have to track WM_PAINT event, paint in device context for the dialog. btw function Rectangle is used to create such shapes.

    regards
  25. Re: Get notified when Mouse stops moving

    Obviously it is no more needed, when timer is being reset on next mousemove.
Results 1 to 25 of 468
Page 1 of 19 1 2 3 4





Click Here to Expand Forum to Full Width

Featured