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
E

Enis

@Enis
About
Posts
11
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Going to Romania...
    E Enis

    I'd better say silver bullets :) Not all vampires run from garlic Enis Arif


    "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    The Lounge tutorial question career

  • Interface Designer
    E Enis

    I've been using Visio, but it's pretty limited. Can you give me the name of that object library for Word? Thanks for answering. Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    IT & Infrastructure design

  • Interface Designer
    E Enis

    Hello everybody! Does anyone know a "User Interface Designer" application that allows me to 'draw' different versions of UI and see how it looks, before starting coding (something like the one in Visio, but more powerfull) Thanks in advance. Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    IT & Infrastructure design

  • Richedit - catch NM_SETFOCUS or EN_SETFOCUS message
    E Enis

    Thank you. Works great! Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC question

  • How to manipulate large numbers
    E Enis

    You can use the big number library available in openSSL . Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC help tutorial

  • Richedit - catch NM_SETFOCUS or EN_SETFOCUS message
    E Enis

    Hello! Does anyone know how can I catch the SetFocus event on a richedit control? I tried with SetEventMask, I can catch mouse events, but what I need is to not allow the user to set focus on a richedit. Thanx. Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC question

  • CreateProcess strange behaviour?!
    E Enis

    Hello all! Here is some "strange" behaviour of CreateProcess (or winword, I don't know) I wanted to launch winword from my application and be notified when the user close the session I opened, so I used CreateProcess and WaitForSingleObject. Here is the code sample from MSDN: SECURITY_ATTRIBUTES sec; sec.bInheritHandle = FALSE; sec.lpSecurityDescriptor = NULL; sec.nLength = sizeof(SECURITY_ATTRIBUTES); STARTUPINFO si; ::ZeroMemory(&si, sizeof(STARTUPINFO)); si.cb = sizeof(STARTUPINFO); PROCESS_INFORMATION pi; //notice the 2 slashes after winword.exe if(::CreateProcess(NULL, "C:\\Program Files\\Microsoft Office\\Office\\winword.exe / / C:\\STPMesagElec.doc", NULL,NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi)) { // Wait for Word to become Idle. WaitForInputIdle(pi.hProcess, 3000); WaitForSingleObject(pi.hProcess,INFINITE); } else { int err = GetLastError(); ::MessageBeep(0); ::MessageBox(NULL, "CreateProcess() failed.\nCheck Path for WinWord.Exe.", "Error", MB_SETFOREGROUND); return; } ::CloseHandle(pi.hThread); ::CloseHandle(pi.hProcess); Now, the result: - If I use CreateProcess as above, but without the 2 slashes, it works only when there is no other instance of Word already opened; if a session already exists, WaitForSingleObject doesn't block anymore - If I use CreateProcess with the two slashes, it works just as I need it. I noticed that with at least one of the slashes, CreateProcess creates a new instance of winword.exe, else it opens a new document in the already existing process. Also, with other applications (eg Notepad or even Excel), it works fine without the slashes. Do you think that this is abnormal behaviour? Why it needs the slashes? (i discovered this by pure luck, it isn't documented anywhere) Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC help question

  • second CStatusBar
    E Enis

    TeeTeeHaa wrote: The problem is: the second status bar although has this "resizing triangle" - which produces unwanted effects when used. The size grip appears because the parent window is resizable. trace into the CStatusBar::Create() and you will see: if (pParentWnd->GetStyle() & WS_THICKFRAME) dwStyle |= SBARS_SIZEGRIP; This is why the size grip appears, even if you create it without the SBARS_SIZEGRIP flag. I think you can acomplish what you want by creating your own class derived from CStatusBar, and override PreCreateWindow(). Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC c++ question help tutorial

  • Excel Developper's Kit
    E Enis

    You will have to buy Office Developer's Kit from MS (I don't know it they have sepparate versions for Excel, Word..) Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC csharp c++ visual-studio question announcement

  • MAPI Delivery receipt
    E Enis

    I have the following problem: i use mapi library in visual c++. All works fine, except that I need to set the delivery receipt option to the message I send. There is a flag for read receipt, but not for the delivery receipt. Does anyone know a solution for this? Thaks! Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    C / C++ / MFC c++ help question

  • one colleague of mine wants me to ask...
    E Enis

    I installed Oracle 8i successfully on Win2k several times. I used v8.1.6 and the standard setup, without much customization (you can do that afterwards). Anyway, if you have more details about the error i'd be glad to help. Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)

    The Lounge question oracle sysadmin help discussion
  • Login

  • Don't have an account? Register

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